mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
Cleaned up C++ examples (#672)
This commit is contained in:
committed by
Peter Johnson
parent
6401aa1fde
commit
45d48d6b5a
@@ -16,10 +16,10 @@
|
||||
|
||||
// For example to map the left and right motors, you could define the
|
||||
// following variables to use with your drivetrain subsystem.
|
||||
// constexpr int LEFTMOTOR = 1;
|
||||
// constexpr int RIGHTMOTOR = 2;
|
||||
// constexpr int kLeftMotor = 1;
|
||||
// constexpr int kRightMotor = 2;
|
||||
|
||||
// If you are using multiple modules, make sure to define both the port
|
||||
// number and the module. For example you with a rangefinder:
|
||||
// constexpr int RANGE_FINDER_PORT = 1;
|
||||
// constexpr int RANGE_FINDER_MODULE = 1;
|
||||
// constexpr int kRangeFinderPort = 1;
|
||||
// constexpr int kRangeFinderModule = 1;
|
||||
|
||||
Reference in New Issue
Block a user