1
0
forked from me/IronOS

Removing timer as wont work & replace with bit bang

Cant keep up with irq
This commit is contained in:
Ben V. Brown
2021-05-03 21:52:18 +10:00
parent dd5714fa17
commit 5ea2908fa2
8 changed files with 1239 additions and 1292 deletions

View File

@@ -3,7 +3,6 @@
#include "I2C_Wrapper.hpp"
#include "QC3.h"
#include "Settings.h"
#include "WS2812.h"
#include "cmsis_os.h"
#include "fusbpd.h"
#include "main.hpp"
@@ -13,13 +12,5 @@
// Initialisation to be performed with scheduler active
void postRToSInit() {
WS2812::init();
WS2812::led_set_color(0, 0xAA, 0x00, 0x00);
while (true) {
// osDelay(1);
// WS2812::led_set_color(0, 0xFF, 0xFF, 0xFF);
// WS2812::led_update(1);
osDelay(10);
WS2812::led_update(1);
}
}