diff --git a/Production/Firmware/aic_pico.uf2 b/Production/Firmware/aic_pico.uf2 index b6557ce..70a2141 100644 Binary files a/Production/Firmware/aic_pico.uf2 and b/Production/Firmware/aic_pico.uf2 differ diff --git a/README.md b/README.md index b732fbf..e9143b2 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,7 @@ I'll let these images do the talk. #### Notes -* The firmware supports up to 16 LEDs on the WS2812B LED strip. I personally used 3 as shown in main title image. But you can experiment with different LED numbers, as long as they fit within the housing. +* The firmware supports up to 64 LEDs on the WS2812B LED strip. I personally used 3 as shown in main title image. But you can have different LED number, as long as they fit within the housing. * LED might be excessively bright even at low settings, consider covering it with some filter tape. * The mode switch on PN532 must be in "I2C" mode, picture below shows the correct settings. diff --git a/firmware/src/light.c b/firmware/src/light.c index c7f5cac..9c5c79d 100644 --- a/firmware/src/light.c +++ b/firmware/src/light.c @@ -21,7 +21,7 @@ #include "board_defs.h" #include "config.h" -static uint32_t rgb_buf[16]; +static uint32_t rgb_buf[64]; static uint8_t led_gpio[] = LED_DEF; #define RGB_NUM (sizeof(rgb_buf) / sizeof(rgb_buf[0])) #define LED_NUM (sizeof(led_gpio)) diff --git a/firmware/src/main.c b/firmware/src/main.c index 2b0bc56..623d788 100644 --- a/firmware/src/main.c +++ b/firmware/src/main.c @@ -103,7 +103,7 @@ static void core1_loop() mutex_exit(&core1_io_lock); } cli_fps_count(1); - sleep_ms(1); + sleep_us(500); } }