csinko / io-master

Dominate the I/O!
MIT License
4 stars 1 forks source link

Optimize Pull-up/Pull-down Circuit #41

Open codeThatThinks opened 4 years ago

codeThatThinks commented 4 years ago

Redesign the pull-up/pull-down circuit so that the control pins are multiplexed. Idea: use a tri-state output to control them (LOW: pull-down enabled, HIGH: pull-up enabled, High-Z: both disabled)

This would save 8 MCU pins, allowing us to use the LQFP100 package: 8 PU, 8 PD pins -> 8 PU/PD pins