Pixl.JS UART overflow on serial upload

Posted on
  • Hi,

    I have kind of edge case here, but maybe there is a solution: Using bunch of DS18B20 to measure temperatures, and bitbanged 1-Wire is not really working with Bluetooth enabled, so disabled it. But that means serial upload. Sometimes I get uart overflow error when trying to upload, sometimes it works just fine. Throttle send is set in the IDE is on, not sure if it helps.
    Usually works on second-third try, but is there any trick that might help with the uploads?

  • There is! You can try Serial1.setup(9600, {rx:..,tx:..,flow:"xon"}) which will enable software flow control. The Web IDE should honour that so will pause sending data if too much comes.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview

Pixl.JS UART overflow on serial upload

Posted by Avatar for AkosLukacs @AkosLukacs