Use yet another bias pattern
This one works equally well for both string and weak signals.
This commit is contained in:
parent
17389d28c4
commit
768c3f3188
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ static void bias_init(int in_pin, int out_pin)
|
|||
|
||||
const uint16_t insn[] = {
|
||||
pio_encode_mov_not(pio_pins, pio_pins) | pio_encode_sideset(1, 1),
|
||||
pio_encode_nop() | pio_encode_sideset(1, 0) | pio_encode_delay(15),
|
||||
pio_encode_mov_not(pio_pins, pio_pins) | pio_encode_sideset(1, 1),
|
||||
pio_encode_nop() | pio_encode_sideset(1, 0) | pio_encode_delay(15),
|
||||
pio_encode_nop() | pio_encode_sideset(1, 0) | pio_encode_delay(15),
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue