Tracy Allen wrote: »
If I were to put Schottky diodes on an SMT circuit board, I'd probably choose a head to tail dual, something like a BAT54.
ctrb := DUTY + OUTPUT_PIN ' this generates the voltage
ctra := POSEDGE + INPUT_PIN. ' this is used to count the input frequency, as you do with the resistor divider.
frqb := 1822425125. ' on my FLIP, this value value generates a voltage about 30mV above the switching threshold
frqa := 1
ctra := POSEDGE_FB_MODE + (OUTPUT_PIN << 9) + (INPUT_PIN) ' posedge with feedback