built fully functioning serial io for arduino and fixed accompanying python code example. digital io version remains for documentation.