This commit is contained in:
j3d1 2022-09-22 21:48:36 +02:00
parent d666a18cec
commit f073608c10
2 changed files with 12 additions and 3 deletions

View file

@ -12,6 +12,9 @@
#include <FreeRTOS.h> #include <FreeRTOS.h>
#include <task.h> #include <task.h>
#include <esp/spi.h>
#include <ws2812_i2s/ws2812_i2s.h>
#include <cstdio>
#include <ws2812_i2s/ws2812_i2s.h> #include <ws2812_i2s/ws2812_i2s.h>
#include <cstdio> #include <cstdio>
@ -56,8 +59,7 @@ namespace fiatlux {
hal_error_t(const char *, hal_error_t *cause) {} hal_error_t(const char *, hal_error_t *cause) {}
}; };
constexpr hal_error_t constexpr hal_error_t empty_error;
empty_error;
enum class hal_module_t { enum class hal_module_t {
NONE, SIGNAL, RELAIS, SPI_DIMMER, WS28X, APA10X NONE, SIGNAL, RELAIS, SPI_DIMMER, WS28X, APA10X

View file

@ -279,7 +279,14 @@
<input type="range" min="0" max="4095" value="0" onchange="lightSlider(this.value)" <input type="range" min="0" max="4095" value="0" onchange="lightSlider(this.value)"
class="slider postfill_white_brightness"> class="slider postfill_white_brightness">
</label> </label>
<label>
<span>toggle signal led</span>
<input type="color" onchange="colorTop(this.value)">
</label>
<label>
<span>toggle signal led</span>
<input type="color" onchange="colorBottom(this.value)">
</label>
</footer> </footer>
</article> </article>
</div> </div>