Bayley Wang
/
foc-ed_in_the_bot_compact
robot
Diff: BREMS/BREMSConfig.cpp
- Revision:
- 151:5bbb15351798
- Parent:
- 121:de10418bf2c2
- Child:
- 154:0a22dcf91577
--- a/BREMS/BREMSConfig.cpp Thu May 04 14:23:13 2017 +0000 +++ b/BREMS/BREMSConfig.cpp Thu May 04 14:34:34 2017 +0000 @@ -110,7 +110,7 @@ io->pc = new Serial(USBTX, USBRX); io->pc->baud(921600); - io->throttle_in = new PwmIn(TH_PIN, TH_LIMIT_LOW, TH_LIMIT_HIGH, TH_LIMIT_CRAZY_LOW, TH_LIMIT_CRAZY_HI); + io->throttle_in = new PwmIn(TH_PIN, TH_LIMIT_LOW, TH_LIMIT_HIGH); io->pos = new PositionSensorEncoder(CPR, 0); read->vbus = BUS_VOLTAGE;