updated for mbed-os 5.5

Fork of Task131 by Nicholas Outram

no such method: docs