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

Dependencies:   mbed

History

v1 default tip

2017-05-14, by javierjsp [Sun, 14 May 2017 19:19:34 +0000] rev 0

v1