mirror of
https://github.com/Djeeberjr/fw-anwesenheit.git
synced 2026-04-30 18:49:09 +00:00
LED is working and implement in feedback
This commit is contained in:
@@ -55,8 +55,8 @@ use crate::init::wifi;
|
||||
*
|
||||
*************************************************/
|
||||
|
||||
const NUM_LEDS: usize = 66;
|
||||
const LED_BUFFER_SIZE: usize = NUM_LEDS * 25;
|
||||
pub const NUM_LEDS: usize = 66;
|
||||
pub const LED_BUFFER_SIZE: usize = NUM_LEDS * 25;
|
||||
|
||||
#[panic_handler]
|
||||
fn panic(info: &core::panic::PanicInfo) -> ! {
|
||||
@@ -116,10 +116,6 @@ pub async fn hardware_init(
|
||||
|
||||
debug!("hardware init done");
|
||||
|
||||
let level = 255;
|
||||
|
||||
led.write(brightness([BLUE; NUM_LEDS].into_iter(), level)).await.unwrap();
|
||||
|
||||
(uart_device, stack, i2c_device, led, buzzer_gpio)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user