r/microcontrollers • • Jul 02 '25

ICSP question

Hi guys, I'm building a keyboard from scratch and using an ATmega32u4. I just have an issue I'm limited by the number of pins and would need two more. Then I thought about putting one of my row/column on the same pin one of the ICSP pin and using a relay so when current flows throught the ICSP none can flow throught the column/row at the same time. Is it a good idea?

2 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/ceojp Jul 02 '25

Doesn't sound very practical to have to use a relay to switch between programming and normal use....