-
Notifications
You must be signed in to change notification settings - Fork 0
fixed SAM and Whitestar errors #6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
src/dmd_interface_whitestar.pio
Outdated
| // 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); |
There was a problem hiding this comment.
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
src/dmd_interface_whitestar.pio
Outdated
| pio_gpio_init(pio, 6); // RDATA | ||
| pio_gpio_init(pio, 3); // DOTCLK | ||
| pio_gpio_init(pio, 2); // SDATA | ||
| pio_gpio_init(pio, whitestar_RDATA); |
There was a problem hiding this comment.
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
src/dmd_interface_desega.pio
Outdated
| .define DOTCLK 3 | ||
| .define SDATA 2 | ||
|
|
||
| .define FRAME_START 4 |
There was a problem hiding this comment.
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
PastorL69
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking great!
No description provided.