MarkusLange / Teensy_3.x_4.x_and_LC_LIN_Master

LIN Master for Teensy 3.x, 4.x and LC
14 stars 3 forks source link

Teensy 4.0 does not work on Arduino 2.1.1 but works on Arduino 1.8.19 #11

Open syagger opened 8 months ago

syagger commented 8 months ago

Arduino 1.8.19: compiling is ok, sketch works.

Arduino 2.1.1: compiling is ok, but, uploading process stuck and need to reboot Teensy.

file "lin_bus.cpp" void LIN::begin(HardwareSerial stream, uint16_t baudrate, uint8_t break_characters) { (stream).begin(baudrate, SERIAL_8N1); // problem with this call, if it commented upload is ok, but sure sketch does not work. this->_stream = stream; ..............................