View Full Version : Anyone have the drive programming code?
team2061
30-01-2008, 01:29
My team can't find out where to get the drive code. Does anyone know where to get it or where to find it?
laultima
30-01-2008, 01:54
http://www.ifirobotics.com/first-legacy.shtml
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.
Mark McLeod
30-01-2008, 10:02
The 2007 IFI default code might be more appropriate:
http://www.ifirobotics.com/docs/frc-code-2007-8722.zip
Links are at the bottom of the IFI Robot Controller page at: http://www.ifirobotics.com/rc.shtml
team2061
30-01-2008, 22:07
What programs are these codes in because I need them in EasyC?
laultima
30-01-2008, 22:59
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.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.