First functional version, implemented digital/analog read/write