In this case display is 4 LEDs connected on output Port in active low configuration. and Input is two switches connected at the input. If SW1 is pressed the binary number represented by LEDs Decreases by 1 and If SW2 is pressed the number represented by LEDs increases by 1. Overflow and underflow of count is prohibited. Due to mechanical nature of input switches.It is connected in the active low configuration. The switch connected at the input has bouncing period of 5ms to 20ms. Please account this, for reliable operation of System "

Dependencies:   mbed

no such method: docs