Hi guys,
I try to read the FAN speed from 3 pin PC fan, and my code as below.
I seen the result is incorrect and unstable, the pull-up res is 10K and connect to 3.3v pin. Anyone can help on this case?
ic_pin = pyb.Pin.board.X4
ic = t2.channel(4, pyb.Timer.IC, pin=ic_pin, polarity=pyb.Timer.RISING)
ic.capture()
Regards