diff options
Diffstat (limited to 'src/status.cpp')
-rw-r--r-- | src/status.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/status.cpp b/src/status.cpp new file mode 100644 index 0000000..2712895 --- /dev/null +++ b/src/status.cpp @@ -0,0 +1,13 @@ +#include "status.hpp"
+
+#include <Arduino.h>
+
+void initialize_status_leds() noexcept
+{
+ pinMode(STATUS_LED_POSITIVE, OUTPUT);
+}
+
+void set_led_positive(uint8_t value) noexcept
+{
+ digitalWrite(STATUS_LED_POSITIVE, value);
+}
|