Removing timer as wont work & replace with bit bang
Cant keep up with irq
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user