is there a motor comand or do i just use HSERVO
hmmm? i cant say i turely know. but i have to say no, you trying with pulout on your motor
Are you using a motor controller such as the Sabertooth?
8-Dale
um my bad yes i am useing the Scorpiona Motor Controller and i just need to make a motor spin
Are you also using an SSC-32 servo controller?
Are you running everything from a Basic ATOM or ATOM PRO microcontroller on an Atom Bot Board?
How do you have everything connected?
The hardware you are using will greatly affect the answers you get to your problem.
8-Dale
my bad agen sorry im new to all this im useing the BASIC Atom Pro 28-pin microcontroller not useing any servo controller the motor controller is pluged into pin0 and pin1 iv tryed with a battery pluged into the the motor controller and tryed useing the microcontrollers power
OK, no problem. We all started out not knowing much, including myself not so long ago.
What code are you currently using with your setup? Now that we know you have the Scorpion motor controller plugged into the Atom PRO, we can help you much better.
8-Dale
well that was my question i can figuer out how to move the motor if you cood just give me an example im useing 7.2.0.6 software and i have a working program 4 my rover but it uses vex servo motors so i was going to update it with better motors but cant figuer out how to control the motors wich also bring up another question about buttons i have 2 bumper buttons on it and thar pluged into p4 and p6 but thay only work if the jumper are on if there not on then thay just randomly says the buttons has ben pushed
drive:
HSERVO [p12\1\240,p13\250\155,p14\1\240,p15\255\190]
button p4,0,delay,rate,count1,1,left
button p5,0,delay,rate,count0,1,START
button p6,0,delay,rate,count2,1,right
goto drive
Thatβs because when you install the jumper, you are also installing a pullup resistor on that pin. Look at the schematic.
o ok but back to the motor can you give me a line of code to make it spin clock wise at half speed or is it not that simple?