use the PortInOut class to make a key_controlled counter

Dependencies:   mbed

Fork of PortInOut_HelloWorld by mbed official

shortlog@7e1bc5947174: not found in manifest