-->
Page 1 of 1

counting RPMs

PostPosted: Sun Jan 11, 2015 7:11 pm
by luismanson
Hello, i want to play a bit with my ESP (just starting) but im not sure on how to do this.
My intention was to have an IR led and phototransistor to read a wheel's RPM.
Im guessing i need to use GPIO for this, however i have no idea on how to read the input (im using NodeMCU... its input, its interrupt? do i need to count interrupt in a loop for an specifc time?