STM32F302R8 with Konrad's inverter boards for senior design.
Fork of Blue_Board_Ticker by
Diff: main.cpp
- Revision:
- 14:0f50e85bd463
- Parent:
- 13:08c700d71324
- Child:
- 15:dddb511c39b4
--- a/main.cpp Wed Apr 13 18:34:26 2016 +0000 +++ b/main.cpp Wed Apr 13 18:54:12 2016 +0000 @@ -95,6 +95,10 @@ phaseAEN = 1; } +void toggleRedLed() +{ + redLed = !redLed; +} void jumpStart() { @@ -131,7 +135,8 @@ { // Cfall(); Brise(); - } + } + toggleRedLed(); } void activate() @@ -168,6 +173,8 @@ } } + + int main() { //wait until button push to start rpmInterrupt.attach(&rpmCalc, 1);