Program follows assignment specifications. Counter counts each switch state change so ten counts is only five button presses and releases. Wait function is used to avoid counting switch bounces.

Dependencies:   mbed

Auto generated API documentation and code listings for Ferguson_A2_Digital_Input

Code

main.cpp [code]