EdgeCounter on mbed Counts falling edges on p5. Used as test setup for interfacing a hall sensor to our water/gas sensor. Whenever the hall sensor triggers, edgecount is incremented and the current value is transmitted to the serial port. Any character sent to the serial port returns the current count value

Dependencies:   mbed

mbed.bld

Committer:
hollie
Date:
2009-12-21
Revision:
0:8179372e7aaa

File content as of revision 0:8179372e7aaa:

http://mbed.org/users/mbed_official/code/mbed/builds/49a220cc26e0