Log in

View Full Version : using an old p-basic controller


fimmel
13-11-2006, 21:20
hello,

im currently designing a new cart for team 885. im thinking of using an old p-basic controller to control some motors, lights and such.

my question is where can i get default code for them and how do i get the code onto the controller?

also are their any major changes to how you hook up the controller? i am familiar with the new control system so if its all the same it would be nice.

thank you
/forest

Greg Needel
13-11-2006, 21:27
The electronics are the same in the way they are hooked up, if you follow the current wiring diagram you will be fine.

the old code base code is available here. http://www.ifirobotics.com/first-legacy.shtml

you want the section from 2001-2003

fimmel
13-11-2006, 22:16
thanks thats exactly what i needed except how do i download code? will the ifi loader work?

Mike Betts
13-11-2006, 22:53
thanks thats exactly what i needed except how do i download code? will the ifi loader work?

Forest,

Pbasic is an interpreted code, not a compiled code.

You "load" the code via the Basic Stamp Editor (http://www.ifirobotics.com/docs/legacy/Setup_Stamp_Editor_v2.0_Beta_1_6MB.exe) and then "run" the code. You should get all the info you need by reading the documentation (http://www.ifirobotics.com/docs/legacy/Programming_Reference_Guide.pdf). If you still have questions, please post 'em here.

Mike

fimmel
13-11-2006, 23:33
thanks again......i should have it all figured out. i need to wait till our next meeting to try it though.
thanks again
/forest

Borgel
13-11-2006, 23:55
P-Basic is a great language to work with (so easy!) remember to post pictures when you get the project done!