Demonstrate digital input and for loops

Dependencies:   mbed

no such method: docs