Log in

View Full Version : Help A Team Out


Dantvman27
01-02-2007, 14:53
so, our programmers lab top has been stolen.



does anybody have a basic drive code for 2 motors and 1 joy stick just to help us out while he rewrites the rest?

Donut
01-02-2007, 15:07
The default code gives you this, in this little code snippet below:

pwm13 = pwm14 = Limit_Mix(2000 + p1_y + p1_x - 127);
pwm15 = pwm16 = Limit_Mix(2000 + p1_y - p1_x + 127);

Just replace the pwms with the ones your drive motors are connected to, and the joystick axis with the port your joystick is hooked up to.

That really sucks that your laptop got stolen; is there another copy of the code at said programmers house, or on a USB disk or something?

Dantvman27
01-02-2007, 15:16
Thanks



No we have some really old code but nothing like what we need, he had the majority of the code writen


ya he forgot to grab his laptop and walked outside of the building, came back in and the door to our room was locked and he couldnt find the janitor so he figured get it first thing in the morning, he was in the rooom rather early and it was already gone


we have like 7 differnt people in power at the school looking for it