Juice up the outputs, not that this makes a discernable difference

This commit is contained in:
Jeff Epler 2024-10-11 08:23:48 -05:00
parent 4f42cce933
commit e7d4d6d1b8

View file

@ -283,6 +283,8 @@ static inline void {program_name_base}_pixel_program_init(PIO pio, uint sm, uint
// Set this pin's GPIO function (connect PIO to the pad)
for(uint i=0; i<n_pin; i++) {{
gpio_set_slew_rate(pin + i, GPIO_SLEW_RATE_FAST);
gpio_set_drive_strength(pin + i, GPIO_DRIVE_STRENGTH_8MA);
pio_gpio_init(pio, pin + i);
}}
// Set the pin direction to output at the PIO