This is the encoder code

Dependencies:   mbed

no such method: docs