|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Programming a super shifter/gearbox
I know how to program it I just need to know how to program this specific gearbox. I can post a picture if you need it.
|
|
#2
|
|||||
|
|||||
|
Re: Programming a super shifter/gearbox
Quote:
In this case, the CIM motors are programmed exactly the same as a regular single speed gearbox. Then program your desired trigger button on the joystick to control the solenoid. Drive without the button pressed, and it is in low gear. Press and hold the trigger button, it shifts to high gear. |
|
#3
|
|||
|
|||
|
Re: Programming a super shifter/gearbox
Quote:
|
|
#4
|
||||
|
||||
|
Re: Programming a super shifter/gearbox
Quote:
http://www.trossenrobotics.com/store...bby-servo.aspx |
|
#5
|
|||
|
|||
|
Re: Programming a super shifter/gearbox
Quote:
Servo supershifter = new servo (1); ? Then how would I set it to change between gears? |
|
#6
|
||||
|
||||
|
Re: Programming a super shifter/gearbox
Quote:
Code:
if (buttonIsPressed()) {
servo.set(1);
} else if (anotherButtonIsPressed()) {
servo.set(0);
}
|
|
#7
|
|||
|
|||
|
Re: Programming a super shifter/gearbox
I figured it was that so I had put it in and it told me it was wrong. then I realized i forgot to capitalize servo. -_- gotta love programming.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|