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

Dependencies:   mbed

no such method: tip