waspinator / AccelStepper

Fork of AccelStepper
http://www.airspayce.com/mikem/arduino/AccelStepper/
Other
146 stars 86 forks source link

esp8266: add an ISR-driven example to protect from WiFi operations #16

Open d-a-v opened 2 years ago

guestisp commented 1 year ago

What's the meaning of this PR ?

d-a-v commented 1 year ago

On esp8266, it allows to call stepper.run() at a regular basis, transparently, from an interrupt. The mcu is then allowed to do other things, possibly long loops, without glitches on the stepper. On single-core esp8266, I can run a webserver while the stepper is smoothly running.