I am trying to connect a bar code scanner to my PICO.
Serial2.setup(9600, {rx:A3,tx:A2,bytesize:8,parity:none,stopbits:1,flow:none}); Serial2.on('data', function(data) { console.log(data); });
The response I am getting is gibberish though?
þ æ æ æ æ f & æÌ f ææ ¦ Ö
I have tried various other baud rates and nothing seems to work. The code should read 0000027840200. Any ideas??
@Cale started
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.
I am trying to connect a bar code scanner to my PICO.
The response I am getting is gibberish though?
I have tried various other baud rates and nothing seems to work. The code should read 0000027840200.
Any ideas??