yiwen zou
/
ES_CW2_Final
Coursework 2 Motor Control
Diff: main.cpp
- Revision:
- 12:9b7a85e17146
- Parent:
- 11:f101c1f3d3bd
--- a/main.cpp Fri Mar 22 23:43:49 2019 +0000 +++ b/main.cpp Sat Mar 23 14:37:38 2019 +0000 @@ -32,7 +32,7 @@ RawSerial pc(SERIAL_TX, SERIAL_RX); //Global variables -#define MAX_PWM 10000 +#define MAX_PWM 2000 Queue<void,8> inCharQ; volatile uint64_t newKey; volatile float newRev = 0.001; //default zero rotation