Javelin Interface to Servo controller
Help!
I am trying to learn alot of stuff all at once.· a couple lines of code here would help me speed things up
I have a Javelin stamp on·a BOE with a Parallel Servo Controller connected to the BOE.
What would be sample code to move the servo if it is on Channel 2 of the controller and Vdd 15 on the BOE?
Any help would be great!
Rob
I am trying to learn alot of stuff all at once.· a couple lines of code here would help me speed things up
I have a Javelin stamp on·a BOE with a Parallel Servo Controller connected to the BOE.
What would be sample code to move the servo if it is on Channel 2 of the controller and Vdd 15 on the BOE?
Any help would be great!
Rob
Comments
http://tech.groups.yahoo.com/group/JavelinCode/files/Javelin%20Stamp%20IDE/lib/stamp/peripheral/servo/psc/
JBot:
http://tech.groups.yahoo.com/group/JavelinCode/files/Javelin%20Stamp%20IDE/lib/JBot/
regards peter
The PSC (according to psc manual) connects to X4 slot 15. I assume that is your VDD 15.
In that case you must specify CPU.pin15 as the serial communication pin.
regards peter
·
Post Edited (Peter Verkaik) : 6/6/2008 7:26:00 AM GMT
I promise not to bug you too much more.· I just need to get over the hump.· I have moved the psc to X4 slot 15.· So to initilize the pin would i modify the following (I got this from the same code)?
static Uart pscIO = new Uart(Uart.dirReceive,CPU.pin0,Uart.dontInvert,Uart.speed2400,Uart.stop1);
Once again thanks!!!
Rob
regards peter