wokwi / avr8js

Arduino (8-bit AVR) simulator, written in JavaScript and runs in the browser / Node.js
https://blog.wokwi.com/avr8js-simulate-arduino-in-javascript/
MIT License
461 stars 73 forks source link

Two Serial.begin() stops serial output for 328P #158

Open ArminJo opened 1 month ago

ArminJo commented 1 month ago

It is simple to reproduce, but here is an example: https://wokwi.com/projects/399320984336916481 I use this function to receive modbus requests at 9600 and in between to print short debug messages with 115200. See https://wokwi.com/projects/399302567914368001 , where following Serial.begin() are disabled if #define STANDALONE_TEST is activated 😞