janelia-arduino/TMC2209

Arduino UNO R3 UART issue

Timoraty opened this issue · 1 comments

my IDE wouldn't compile and error comes up, How can I sovle this? I'm using example "Cool Step"

C:\Users###\AppData\Local\Temp.arduinoIDE-unsaved20231122-41876-qfveoq.0nlba\CoolStep\CoolStep.ino:9:34: error: 'Serial3' was not declared in this scope
HardwareSerial & serial_stream = Serial3;
^~~~~~~
C:\Users###\AppData\Local\Temp.arduinoIDE-unsaved20231122-41876-qfveoq.0nlba\CoolStep\CoolStep.ino:9:34: note: suggested alternative: 'Serial'
HardwareSerial & serial_stream = Serial3;
^~~~~~~
Serial

Arduino UNO R3 does not have Serial3. See this Arduino Serial Reference Page

The UNO board only has one hardware serial port and that is being used for communication with the computer.

In order to use the UNO board with this library, please see the SoftwareSerial examples.