Sketched out analog/digital Input/Output.m