consolidated digital Input & output buttons into one template for simplicity. Change input/output state by displaying/hiding some objects instead of switching/redrawing template.
Implemented digital I/O buttons w/ device writing/reading/gui updating logic.