Hello guys,
I am trying to get my head around on counting pulses. I am using photo interrupter (GP1A51HRJ00F) and need to count pulses on one of the MSP430F2252 pin. The idea is to count pulses ( low = 0V and High=5V ) and then calculate a wind speed using calibration chart. I would appreciate if you give me idea or small program code. I am newbee so need help.