janelia-arduino / TMC2209

The TMC2209 is an ultra-silent motor driver IC for two phase stepper motors with both UART serial and step and direction interfaces.
Other
171 stars 26 forks source link

Compile Error Arduino UNO R4 WIFI #62

Open WollexD opened 5 months ago

WollexD commented 5 months ago

C:\..Path..\libraries\TMC2209\src\TMC2209\TMC2209.cpp: In member function 'void TMC2209::setup(SoftwareSerial&, long int, TMC2209::SerialAddress)': C:\..Path..\libraries\TMC2209\src\TMC2209\TMC2209.cpp:85:25: error: 'class SoftwareSerial' has no member named 'end'; did you mean 'read'? software_serial_ptr_->end(); ^~~ read

This Error is shown on my Arduino Compiler. Board: Arduino Uno R4 Wifi Code: Example Code Move At Velocity

Only Change:

Line 9: HardwareSerial & serial_stream = Serial1;

aagum-bae commented 3 months ago

Hi I'm facing similar error in ESP32, were you able to find a solution?