yiwen zou
/
ES_CW2_Final
Coursework 2 Motor Control
Revision 12:9b7a85e17146, committed 2019-03-23
- Comitter:
- eavennnn
- Date:
- Sat Mar 23 14:37:38 2019 +0000
- Parent:
- 11:f101c1f3d3bd
- Commit message:
- Edited Name
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f101c1f3d3bd -r 9b7a85e17146 main.cpp --- 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