Modify the file main.cpp for M487

Dependencies:   BufferedSerial

no such method: tip