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

Download repository: zip gz

Files at revision 0:8179372e7aaa

Name Size Actions
[up]
main.cpp 1059 Revisions Annotate
mbed.bld 66 Revisions Annotate