You are reading a single comment by @Unknown and its replies. Click here to read the full conversation.
  • 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

About

Avatar for Unknown @Unknown started