Implemented analog/digital read/write in the python lib