This sketch shown how to read a single switch with pull up resistor

Dependencies:   mbed

Revisions of main.cpp

Revision Date Message Actions
0:fb95cef55dd9 2016-03-18 first release File  Diff  Annotate