• Sat 2019.06.22

    Hi @larry, garbled chars are usually a sign of baud rate mis-match.

    http://www.espruino.com/Reference#l_Seri­al_setup

    Would you please post results of process.env, the sample snippet of code that is performing the read, (best to present entire code block), and a sample output, so that we may see what is going on under the hood.

    re: 'well in fact I don't know what is the type of data the sensor give me? '

    In the #1 post, it is indicated that a buffer containing ten hex values was returned. Is this the case with the current Pico script?

About

Avatar for Robin @Robin started