Railway Challenge
/
challenge
Uncommenting of part that allow supercaps to charge up from the batteries
Diff: dashboard.cpp
- Revision:
- 12:2ac4b0df4007
- Parent:
- 0:4788e1df7b55
- Child:
- 18:d28d458824d4
--- a/dashboard.cpp Fri Apr 22 14:06:49 2022 +0000 +++ b/dashboard.cpp Fri Apr 22 14:25:30 2022 +0000 @@ -7,7 +7,7 @@ _hallSensor.rise(this, &Dashboard::tachoInterrupt); // Register everytime hall sensor is detected tachoTimer.start(); // Timer for counting time between hall sensor triggers - numberOfMagnets = 1; // How many magnets on the wheels + numberOfMagnets = 8; // How many magnets on the wheels currentSpeed = 0.00f; passedTime_ms = 0.00f;