Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5354

SDK • Re: Blinking some LEDs

$
0
0
Was looking at this a little more and I'm wondering about saving some GPIO pins and using a 74HC595 Shift register. I would need to research more but I though if I had a uint8_t that mapped to the output of the shift register I could just use a PIO to keep the outputs updated?

Is this something that would work the PIO would only be used to display what was in the uint8_t the flashing would be done with a timer or something.

I have 4 LEDs in the current design that use GPIO plus I want to add to that 2 more status LEDs. The shift register starts to make sense.

Statistics: Posted by DarkElvenAngel — Fri Jan 19, 2024 2:21 am



Viewing all articles
Browse latest Browse all 5354

Trending Articles