Skip to content

Conversation

@mkalkbrenner
Copy link
Member

No description provided.

// Set the pin direction at the PIO
pio_sm_set_consecutive_pindirs(pio, sm, 6, 1, false); // RDATA
pio_sm_set_consecutive_pindirs(pio, sm, 2, 2, false); // SDATA, DOTCLK
pio_sm_set_consecutive_pindirs(pio, sm, whitestar_RDATA, 1, false);
Copy link
Member

@PastorL69 PastorL69 Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be removed as we are not making use of it

pio_gpio_init(pio, 6); // RDATA
pio_gpio_init(pio, 3); // DOTCLK
pio_gpio_init(pio, 2); // SDATA
pio_gpio_init(pio, whitestar_RDATA);
Copy link
Member

@PastorL69 PastorL69 Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be removed as we are not making use of it

.define DOTCLK 3
.define SDATA 2

.define FRAME_START 4
Copy link
Member

@PastorL69 PastorL69 Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should use FRAME_START_IRQ here too to go with same naming convention as other PIOs

Copy link
Member

@PastorL69 PastorL69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking great!

@mkalkbrenner mkalkbrenner merged commit c7ab5e1 into ppuc Nov 6, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants