hello everybody
i am thinking of getting the parts for the brat Jr. and ps2 controller but first
im trying to mod the program from the
4wd rover and iv placed my variables and constsnts
and the position of the servos
but i don’t know what do place next should i place the value of the vaiables
'****************************
'*program name:ps2walk.bas *
'*author:brandon carbone *
'****************************
'this program allows the remote controll of
'the b.r.a.t Jr.
'connections
'servo left hip p0
'servo left ankle p1
'servo right hip p2
'servo right ankle p3
'optional pan & tilt,tilt p4,pan p5,
DAT con p8 'playstation controller connections
CMD con p9
SEL con p10
CLK con p11
'variables
r_dpad_up var bit
r_dpad_down var bit
r_dpad_left var bit
r_dpad_right var bit
l_dpad_up var bit
l_dpad_down var bit
l_dpad_left var bit
l_dpad_right var bit
l_hip var word
r_hip var word
l_ankle var word
r_ankle var word
pan var word
tilt var word
l_hip=1500
r_hip=1500
l_ankle=1500
r_ankle=1500
pan=1500
tilt=1500
low p0
low p1
low p2
low p3
low p4
low p5
high CLK
pause 1000
exactly what I’m gonna do during xmas vacation loool, but me i’m going to do it with a bs2 so i cant realy help you with the codes. wow, BRAT jr. is more popular than I thought… lol
thats ok
im sure sombody else can allways help
OH and one little thing! i had no idea that
lynxmotion got there brat Jr. idea from you
i just realized that
and how are you supposed to controll the brat Jr.
with bs2 i thought i read before that it dosn’t handle alll the functions
of the ps2 controller