Thanks tve and Gordon
I still need some help, if you have time I would appreciate that.
I have saved this script on ESP8266.
E.on('init', function() { LoopbackA.setConsole(); Serial1.setup(19200,{bytesize:8,parity:'none',stopbits:1,flow:'none'}); Serial1.println("my command"); });
My intension is to use the RX and TX to communicate with an instrument instead of the consol.
I expected to get "my command" sent out on the TX pin with a baud of 19200.
But i get this continuous repeated on baud 115200:
-> LoopbackA ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x40100000, len 1396, room 16 tail 4 chksum 0x89 load 0x3ffe8000, len 776, room 4 tail 4 chksum 0xe8 load 0x3ffe8308, len 540, room 4 tail 8 chksum 0xc0 csum 0xc0 2nd boot version : 1.4(b1) SPI Speed : 40MHz SPI Mode : DIO SPI Flash Size & Map: 32Mbit(512KB+512KB) jump to run user1 @ 1000 rl??rl??â?büLoading 5123 bytes from flash... -> LoopbackA ets Jan 8 2013,rst cause:2, boot mode:(3,6) ..
@jsbaekke 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.
Thanks tve and Gordon
I still need some help, if you have time I would appreciate that.
I have saved this script on ESP8266.
E.on('init', function() {
LoopbackA.setConsole();
Serial1.setup(19200,{bytesize:8,parity:'none',stopbits:1,flow:'none'});
Serial1.println("my command");
});
My intension is to use the RX and TX to communicate with an instrument instead of the consol.
I expected to get "my command" sent out on the TX pin with a baud of 19200.
But i get this continuous repeated on baud 115200:
-> LoopbackA
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x40100000, len 1396, room 16
tail 4
chksum 0x89
load 0x3ffe8000, len 776, room 4
tail 4
chksum 0xe8
load 0x3ffe8308, len 540, room 4
tail 8
chksum 0xc0
csum 0xc0
2nd boot version : 1.4(b1)
SPI Speed : 40MHz
SPI Mode : DIO
SPI Flash Size & Map: 32Mbit(512KB+512KB)
jump to run user1 @ 1000
rl??rl??â?büLoading 5123 bytes from flash...
-> LoopbackA
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
..