Change SampleRobot template to use 0 based PWM

Change-Id: Ia299db32ba724e5a5ddc2e9a3c0dbb5d8acbb08f
This commit is contained in:
Joe Ross
2014-08-23 15:06:31 -07:00
parent 52e358c180
commit 023f955a56
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ class Robot: public SampleRobot
public:
Robot() :
myRobot(1, 2), // these must be initialized in the same order
myRobot(0, 1), // these must be initialized in the same order
stick(1) // as they are declared above.
{
myRobot.SetExpiration(0.1);