diff options
Diffstat (limited to 'src/gyronardo.cpp')
-rw-r--r-- | src/gyronardo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gyronardo.cpp b/src/gyronardo.cpp index bee13b6..9b1aa24 100644 --- a/src/gyronardo.cpp +++ b/src/gyronardo.cpp @@ -2,6 +2,7 @@ #include "sensor/calibration.hpp" #include "sensor/sensor.hpp" #include "serial.hpp" +#include "status.hpp" #include "utils.hpp" #include <Wire.h> @@ -15,6 +16,8 @@ constexpr unsigned int BAUD_RATE = 9600U; void setup() { + initialize_status_leds(); + auto sout = common::make_shared<SerialStream>(Serial, BAUD_RATE); auto sensor = common::make_shared<Sensor>(SENSOR_ADDRESS, Wire, SENSOR_THROTTLE_TIME); @@ -58,6 +61,8 @@ void setup() stop(); } + set_led_positive(HIGH); + *sout << "Finished calibrating sensor\n"; *sout << "Calibration values:\n" |