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?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sat 2019.06.22
Hi @larry, garbled chars are usually a sign of baud rate mis-match.
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.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?