Implemented FRCSim artf2628, fixed bugs in non-sim Relay.java and sim PWM.cpp.

Change-Id: Ic00fcd5026ce0570c79a65be178e45eeb94b3deb
This commit is contained in:
Colby Skeggs
2014-07-17 11:01:14 -07:00
committed by Alex Henning
parent 461e359484
commit dc48dc7f7b
6 changed files with 613 additions and 5 deletions

View File

@@ -34,7 +34,7 @@ void PWM::InitPWM(uint32_t channel)
return;
}
sprintf(buf, "pwm/1/%d", channel);
sprintf(buf, "pwm/%d", channel);
impl = new SimContinuousOutput(buf);
m_channel = channel;
m_eliminateDeadband = false;