Pages: [1]   Go Down
Author Topic: BUG? pinMode() not retaining HIGH/LOW states through changes.  (Read 257 times)
0 Members and 1 Guest are viewing this topic.
United States
Offline Offline
Newbie
*
Karma: 2
Posts: 49
Yes. Thats my donkey
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I just spent an evening hashing out a Due specific issue with the author of the AccelStepper library.(http://www.airspayce.com/mikem/arduino/AccelStepper/)

It seems that if one assigns the state of a pin as HIGH/LOW then later on that pin changes from INPUT to OUTPUT the assigned HIGH/LOW state is reset to the default LOW.

Its probably no big deal if your pin was already set to LOW as the state is still the same, but if your counting on it to remember states while its output has been disabled then it might throw you a curve-ball.
Logged

Pages: [1]   Go Up
Jump to: