Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Help A Team Out (http://www.chiefdelphi.com/forums/showthread.php?t=53215)

Dantvman27 01-02-2007 14:53

Help A Team Out
 
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

Re: Help A Team Out
 
The default code gives you this, in this little code snippet below:

Code:

  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

Re: Help A Team Out
 
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


All times are GMT -5. The time now is 21:11.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi