From 49eeb6fbc34cc76890a0f7676211e68ee2722bf1 Mon Sep 17 00:00:00 2001 From: Andrew Scheller Date: Tue, 20 Aug 2024 18:30:02 +0100 Subject: [PATCH] Update the auto-generated ws2812.pio.h to match changes made in #486 --- pio/ws2812/generated/ws2812.pio.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pio/ws2812/generated/ws2812.pio.h b/pio/ws2812/generated/ws2812.pio.h index 4a564101f..5d05bbde9 100644 --- a/pio/ws2812/generated/ws2812.pio.h +++ b/pio/ws2812/generated/ws2812.pio.h @@ -16,16 +16,16 @@ #define ws2812_wrap 3 #define ws2812_pio_version 0 -#define ws2812_T1 2 -#define ws2812_T2 5 -#define ws2812_T3 3 +#define ws2812_T1 3 +#define ws2812_T2 3 +#define ws2812_T3 4 static const uint16_t ws2812_program_instructions[] = { // .wrap_target - 0x6221, // 0: out x, 1 side 0 [2] - 0x1123, // 1: jmp !x, 3 side 1 [1] - 0x1400, // 2: jmp 0 side 1 [4] - 0xa442, // 3: nop side 0 [4] + 0x6321, // 0: out x, 1 side 0 [3] + 0x1223, // 1: jmp !x, 3 side 1 [2] + 0x1200, // 2: jmp 0 side 1 [2] + 0xa242, // 3: nop side 0 [2] // .wrap }; @@ -72,16 +72,16 @@ static inline void ws2812_program_init(PIO pio, uint sm, uint offset, uint pin, #define ws2812_parallel_wrap 3 #define ws2812_parallel_pio_version 0 -#define ws2812_parallel_T1 2 -#define ws2812_parallel_T2 5 -#define ws2812_parallel_T3 3 +#define ws2812_parallel_T1 3 +#define ws2812_parallel_T2 3 +#define ws2812_parallel_T3 4 static const uint16_t ws2812_parallel_program_instructions[] = { // .wrap_target 0x6020, // 0: out x, 32 - 0xa10b, // 1: mov pins, !null [1] - 0xa401, // 2: mov pins, x [4] - 0xa103, // 3: mov pins, null [1] + 0xa20b, // 1: mov pins, !null [2] + 0xa201, // 2: mov pins, x [2] + 0xa203, // 3: mov pins, null [2] // .wrap };