Skip to content

Commit

Permalink
Update the auto-generated ws2812.pio.h to match changes made in #486
Browse files Browse the repository at this point in the history
  • Loading branch information
lurch committed Aug 20, 2024
1 parent 8953e1b commit 49eeb6f
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions pio/ws2812/generated/ws2812.pio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand Down Expand Up @@ -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
};

Expand Down

0 comments on commit 49eeb6f

Please sign in to comment.