|
Re: WPILib CAN Communications
WPILib supports both, there is no difference in the robot code or WPILib code between the two.
The difference is handled by the plugin on the cRIO - if you're using RS-232 you run the Black Jag plugin on the cRIO, if using 2CAN you use the 2CAN plugin. The cRIO imaging tool lets you select which to use, or you can edit the ni-rt.ini file yourself to load the plugin you want.
__________________
FIRST Mid-Atlantic Volunteer
FRC Team #2607 Mentor
|