Quote:
Originally Posted by nighterfighter
Is the CAN id for the PCM required to be 0 for C++?
Because unless an update changed something, the PDP is needed to be 0, in C++. There is no constructor in WPILib for the PowerDistributionPanel class to make the PDP anything other than 0. ( http://www.chiefdelphi.com/forums/sh...d.php?t=133028 Read the 2nd post).
Edit: Ignore me.
|
It doesn't matter what language you use, the PCM controlling your compressor needs to be set with a CAN ID of 0. Mark explained how you can have PCM and PDP ID'd as 0.
You set the ID through the roboRIO web interface. More information on that can be found at
http://wpilib.screenstepslive.com/s/...ribution-panel.