1
0
forked from me/IronOS

WiP on WS2812 Protocol driver

This commit is contained in:
Ben V. Brown
2021-05-02 21:22:29 +10:00
parent 5637e1a215
commit e4f7946dcb
10 changed files with 596 additions and 329 deletions

View File

@@ -7,6 +7,7 @@
#include "Setup.h"
#include "TipThermoModel.h"
#include "Utils.h"
#include "WS2812.h"
#include "configuration.h"
#include "history.hpp"
#include "main.hpp"
@@ -410,4 +411,7 @@ bool isTipDisconnected() {
return tipDisconnected;
}
void setStatusLED(const enum StatusLED state) {}
void setStatusLED(const enum StatusLED state) {
WS2812::led_set_color(0, 0xFF, 0, 0);
WS2812::led_update(1);
}