![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
First Commit
Dependencies: mbed Crypto_light mbed-rtos
Spin it 2 win it
Diff: main.cpp
- Revision:
- 22:7c94575d7792
- Parent:
- 21:0d1025dc6433
- Child:
- 23:58de87ec3997
--- a/main.cpp Tue Mar 20 17:20:13 2018 +0000 +++ b/main.cpp Tue Mar 20 17:47:53 2018 +0000 @@ -165,6 +165,8 @@ cnt = 0; } else{ cnt++; } + + torque = (uint32_t)(25*(maxspeed-abs(currentSpeed))); } }