-
Good day.
I saved some code, then i want reset to blank state.
check check check check check check >reset() =undefined Uncaught Error: Expecting a function to call, got Uint8Array at line 1 col 1 reset() ^ check check check
And nothing to reset ... dump of saved code
>dump() var poll = new Uint8Array([252, 5]); var reset = new Uint8Array([252, 5]); setInterval(function () { print('check'); if (Serial4.available()) { print(Serial4.read()); } }, 500); Serial4.setup(9600, {"parity":"even","bytesize":8,"stopbits":1}); pinMode(A10,"input_pullup"); pinMode(C11,"input_pullup");
p.s. reset button did not help too
-
-
Good day
Is micro USB same as USB described in docs ?
Ask because i cant add listener to read data incoming via micro usb
function onInit() { // fire event when receive data via general usb port USB.on('data', function (data) { digitalWrite(LED3,1); print("<USB> "+data); }); }
Then connect to PC and send data using special tools to COM port, for example:
1+1
and receive only
2 >
As we see, listener did not fire ...
-
-
-
when i try upload new code same problem ...