SPST switch and led with a single pin?

That sounds fine from the description. You could share a schematic or photo of the circuit just in case, but if nothing is smoking then it should be fine :slight_smile:

If you do run out of pins again in the future, please consider using a multiplexer. I made a guide on it: Cd4051 Multiplexer Tutorial Is Here!
You can use it for digital out as well. And it works with any of the programming languages as well!

And feel free to share a video/photo of the project when complete! Looking forward to checking it out.

2 Likes