luni64 / TeensyStep

Fast Stepper Motor Library for Teensy boards
https://luni64.github.io/TeensyStep/
MIT License
272 stars 56 forks source link

fatal error: algorithm: No such file or directory #132

Closed lebadu closed 2 years ago

lebadu commented 2 years ago

We are having problems adding the TeensySteper library to the Arduino IDE. The error is described in the image below. When I try to add the algorithm library as shown below it keeps giving the error adding other libraries which are not available for use. can you help us to fix it Thank you very much.

Capture

luni64 commented 2 years ago

The lib only works for Teensy 3x. You compiled for Mega

lebadu commented 2 years ago

Did you mean that Lib only works when using the Teensy USB Development Board electronic circuit, it can't work directly on the Arduino Mega2560 board right?

luni64 commented 2 years ago

Yes, only for Teensy 3.x as written in the library description:

image