May 26, 2013 Leave a comment
During the evening while I was playing with an Arduino Due and troubleshooting some stepper movements, or rather the lack there of; I discovered a Due specific issue with pinMode() resetting pins back to the default LOW regardless of any previously assigned state. This small difference compared to AVR-based Arduinos threw a monkey wrench in to an otherwise standard test-bench setup.
In light of this, I got in touch with Mike McCauley the author of the AccelStepper library. Soon after we had hashed out the bug, and he quickly laid the matter to rest with a fresh, Due friendly version of the code.
So, if you have an Arduino Due and intend to use it with the AccelStepper library, I recommend you download an updated version.