Hi, I'm new to using the Arduino. I have a reed switches I'd like to read, one at a time. The frequency for each switch can vary between ~12 to ~120 pulses per second. Can the Arduino reliably read the upper range of that?
I've seen this example: http://openenergymonitor.org/emon/buildingblocks/12-input-pulse-counting Low-level digital input registers are used in this example, and it seems a little less straightforward than it can be. Also, 1. I think this is for reading multiple inputs accurately. 2. In the benchmarks, they only tested it to go up to ~12 pulses per second, for 12 inputs.
And, generally, what would my code look like? digitalRead() or analogRead()?