gin66 / FastAccelStepper

A high speed stepper library for Atmega 168/328p (nano), Atmega32u4, Atmega 2560, ESP32, ESP32S2, ESP32S3, ESP32C3 and Atmel SAM Due
MIT License
283 stars 67 forks source link

Not working at wokwi.com #166

Closed lesalbum closed 1 year ago

lesalbum commented 1 year ago

Hello gin66, First of all, thank you for the library itself and the support 👍. I have not been able to compile successfully at wokwi.com. I would highly appreciate if someone can have a look at the errors that I am facing below: My project link: https://wokwi.com/projects/361607351418946561

gin66 commented 1 year ago

Interesting website. From what I see, the simulator does not emulate the essential hardware blocks (mcpwm, pcnt or rmt). So it cannot be expected, that FastAccelStepper is working within that simulated environment.

lesalbum commented 1 year ago

Interesting website. From what I see, the simulator does not emulate the essential hardware blocks (mcpwm, pcnt or rmt). So it cannot be expected, that FastAccelStepper is working within that simulated environment.

I changed esp32 by Arduino and the library worked: https://wokwi.com/projects/361670237243500545 I think esp32 does not fully emulate its real function. btw, thank you so much for reply.

gin66 commented 1 year ago

yes, there is a full emulator available for the avr chips, which is used in the test suite of FastAccelStepper. Not sure, which kind of emulator wowki.com is using for avr, but it can be expected to be way more complete as their esp32 emulator.