Servo timer corruption?


hi,

i've been working on project uses servo.h library. working ok, project has  stopped working (i.e. servo won't move.) have worked servos lot in past, reasonably confident i've avoided of basic issues.

the hardware (arduino pro mini , futaba servo) seem working correctly - can upload of earlier servo projects , works fine. code compiles , uploads expected, , know servo.writemicroseconds() function being executed correct values, problem servo won't move.

here's theory (and question forum). know servo.h library uses 1 of timers, , know these timers require use of registers. these registers part of 'normal' dynamic memory, or in way protected? can corrupted normal memory can be?

my current best guess somewhere in code have managed corrupt 1 or more of registers servo.h timer uses. (i have never knowingly changed of registers). if theory plausible, there way of checking it?

thanks

the common cause of timer problem 2 libraries using same timer.  did add libraries time servo stopped moving?


Arduino Forum > Using Arduino > Programming Questions > Servo timer corruption?


arduino

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code