Solution to 6.2.2 updated for mbed os 5.4

no such method: tip