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

Dependencies:   mbed

unknown revision 'shortlog'