View Single Post
  #9   Spotlight this post!  
Unread 10-02-2007, 13:41
JimHull's Avatar
JimHull JimHull is offline
Registered User
FRC #1891
 
Join Date: Feb 2007
Location: Boise, ID
Posts: 11
JimHull is an unknown quantity at this point
Re: HS-322D servo programming question

Well pwm05 is set to 127 in the initialization part of the code (default). Then in my Default_routine() I have the following:

pwm05=0;
for(i=0;i<10000;i++); // quick and dirty delay
pwm05=254;
for(i=0;i<10000;i++); // quick and dirty delay