![]() |
Please Help Rookie with Simple Program
Please help me write Java program that will turn on and off a motor through Jaguar attached to PWM 3 on digital sidecar. I would like it to be mapped to button 4 on left joystick for on and button 5 on left joystick to turn it off. Please, please help
Thanks Obot |
Re: Please Help Rookie with Simple Program
Are you trying to send analog signals (-1.0 - 1.0)? or do you just want it to turn on and off like a relay?
|
Re: Please Help Rookie with Simple Program
Just turn on and off like a relay, Please.
|
Re: Please Help Rookie with Simple Program
You could do something simple like this:
Code:
import edu.wpi.first.wpilibj.*; |
Re: Please Help Rookie with Simple Program
Thanks Neal. I will try it!
|
Re: Please Help Rookie with Simple Program
how did this work out for you guys?
|
| All times are GMT -5. The time now is 06:45. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi