We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb9782 commit eaebfc5Copy full SHA for eaebfc5
prawn_do/prawn_do.c
@@ -253,10 +253,7 @@ void core1_entry() {
253
else{
254
// manual update
255
uint32_t manual_state = command;
256
- // put new state into the TX FIFO
257
- pio_sm_put_blocking(pio, sm, manual_state);
258
- // pull FIFO into scratch register and update pins
259
- pio_sm_exec_wait_blocking(pio, sm, pio_encode_out(pio_pins, 32));
+ pio_sm_set_pins_with_mask(pio, sm, manual_state, output_mask);
260
if(debug){
261
fast_serial_printf("Output commanded: %x\r\n", manual_state);
262
}
0 commit comments