added get and set value methods to arduino library