button (push to on switch) interfacing

Dependencies:   mbed

no such method: docs