Anyone have the drive programming code?

My team can’t find out where to get the drive code. Does anyone know where to get it or where to find it?


2005 RC User Default Code, the two versions are with or without camera code.

Edit: PWM 1 is defaulted OI port 1, y axis; PWM 2 = port 2 y; PWM 13 & 14 right side for one-joystick drive, 15 & 16 for left side. Feel free to change this if you need to.

The 2007 IFI default code might be more appropriate:

Links are at the bottom of the IFI Robot Controller page at: http://www.ifirobotics.com/rc.shtml

What programs are these codes in because I need them in EasyC?

These codes are for if you are programming in MPLabs or the like. For EasyC, just drag and drop one of the driving function blocks (if I remember right, there’s tank-style 2 & 4 motor variants, as well as arcade-style 2 & 4 motor variants), and configure which ports the motors go to, which OI port(s) the joystick(s) on, etc.