serial output control using switch

Dependencies:   mbed

no such method: docs