mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Version 4 Image
Updated the HAL library to work with the new version 3 headers from NI. There were multiple changes in this verison: more PWM generators were added, so the functions for setting PWM signals have been updated. UserWatchdog has been removed, and Watchdog has been removed from WPILib to accomodate for this. Digital selection has been consolidated to one function in the NI headers, so this has been updated in the HAL. New SPI and I2C libraries have been added, but need to be implemented in the HAL before they will work.
This commit is contained in:
committed by
Brad Miller
parent
b1ef116104
commit
4546abc8c5
@@ -11,12 +11,12 @@
|
||||
|
||||
// For example to map the left and right motors, you could define the
|
||||
// following variables to use with your drivetrain subsystem.
|
||||
// #define LEFTMOTOR 1
|
||||
// #define RIGHTMOTOR 2
|
||||
//const int LEFTMOTOR = 1;
|
||||
//const int RIGHTMOTOR = 2;
|
||||
|
||||
// If you are using multiple modules, make sure to define both the port
|
||||
// number and the module. For example you with a rangefinder:
|
||||
// #define RANGE_FINDER_PORT 1
|
||||
// #define RANGE_FINDER_MODULE 1
|
||||
//const int RANGE_FINDER_PORT = 1;
|
||||
//const int RANGE_FINDER_MODULE = 1;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user