![]() |
Help! Can't get PWMs to work...
I'm trying to get our control system working, and everything seems to be communicating properly (diagnostics shows communication, robot code, stop button, left stick, enet link, ds radio, bridge, and robot as all green), and when I enable the robot in teleop the RSI light switchs to long on/ short off, however, output to the PWMs doesn't seem to be working. Our robot code is as follows:
Code:
#include "WPILib.h" |
Re: Help! Can't get PWMs to work...
Do you have 12V wired into the sidecar through the WAGO connector? are all three lights at the bottom of the sidecar on, is the sidecar connected to the DIO module in slot 4 on your cRIO?
|
Re: Help! Can't get PWMs to work...
Quote:
In addition, the expected pattern blinks on the RSI light. Interestingly, the dashboard shows now change in the PWM output level, which leads me to believe that it's probably not a connection problem, and more likely a software problem ... it's just that I can't find anything that's out of place. I'm going to try formatting and reflashing the cRio tomorrow, because I'm out of ideas. |
| All times are GMT -5. The time now is 13:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi