use a digital input in pull up mode to read a signal from a microswitch and toggle a LED

Dependencies:   mbed

Revision graph

The revision graph only works with JavaScript-enabled browsers.