View Single Post
  #4   Spotlight this post!  
Unread 06-02-2005, 13:31
Anton's Avatar
Anton Anton is offline
Anton Povzner
#1581 (Element)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Israel
Posts: 51
Anton can only hope to improve
Re: Need help with code.

you should download the default code from ifirobotics.com/rc.shtml
fo to file>>open workspase>> the only *mcp file in the code folder and then just modify default_routie(found in user_routines.c) as you need.
to access motors give a value between 0 and 255 to a pwm port where the motor is plugged in.
pwm01=255; for example