• Hi guys,

    I am sniffing data coming from the Espruino Pico through virtual COM port (Windows, Python), and I ran into a problem. It seems that each print(X) adds the special "Backspace" character before X, and finally adds "carriage return" +"Line feed".
    I wonder if this "Backspace" character is really useful for anything? I am using the serial port for long time, I never had to use this "Backspace" character. If anyone could explain why it is so important, that would be great!

    I am a beginner with Python, and I had to find a trick to remove this "BS" character. I tried this one:

    myData=comPort.readline()
        myData=myData[2:]
    
    

    Why "2" characters removed? I don't really understand, I thought only had to be removed, but Espruino seems to send another useless character in front of the printed string, maybe '>' ?

    If anyone has a better idea on how to keep only the useful data, do not hesitate to post it :-)

    Have a nice day.

About