From: Dave H. <dhy...@gm...> - 2008-07-10 20:30:41
|
Hi Shane, > I'm working with some futaba S3004 servos using the servo program. > The servos don't seem to settle...they shake back and forth and only > stop if I put my hand on them...does any one know how to fix this? > Also the values which work with the servo program are much smaller > (like between 0-100) than the recommended values. Thanks. That seems weird. Did you set the fuses up? By default the ATMega128 runs at 1 MHz. The servo program is expecting the fuses to be set to use the external crystal - which runs it at 16 MHz. Running at 1 MHz would cause the behaviour you're seeing. 1500 / 16 = 93.75. -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |