more comms to be implemented
This commit is contained in:
@@ -30,7 +30,7 @@ void ws2812_Init(void){
|
||||
}
|
||||
|
||||
void ws2812_update(void){
|
||||
HAL_TIM_PWM_Start_DMA(&htim2, TIM_CHANNEL_1, ledStripBuffer, sizeof(ledStripBuffer));
|
||||
HAL_TIM_PWM_Start_DMA(&htim2, TIM_CHANNEL_1, (const uint32_t*) ledStripBuffer, sizeof(ledStripBuffer));
|
||||
}
|
||||
|
||||
void ws2812_set_colour(uint8_t led, uint8_t red, uint8_t green, uint8_t blue){
|
||||
|
||||
Reference in New Issue
Block a user