Reiko Randoja
/
ut_bbr_2018
Firmware for UT Robotex 2018 basketball robot
Diff: main.cpp
- Revision:
- 3:2f12dac1bcdf
- Parent:
- 2:7affec1c81cb
- Child:
- 4:81cb68f1bcbd
diff -r 7affec1c81cb -r 2f12dac1bcdf main.cpp --- a/main.cpp Tue Sep 17 05:11:16 2019 +0000 +++ b/main.cpp Tue Sep 17 05:12:24 2019 +0000 @@ -148,11 +148,11 @@ } else if (strncmp(cmd, "d", 1) == 0) { int pulsewidth = atoi(buffer + 2); - if (pulsewidth < 800) { + /*if (pulsewidth < 800) { pulsewidth = 800; } else if (pulsewidth > 2100) { pulsewidth = 2100; - } + }*/ m3.pulsewidth_us(pulsewidth);