use the PortInOut class to make a key_controlled counter

Dependencies:   mbed

Fork of PortInOut_HelloWorld by mbed official

Changes