change semantics of is_configured_mode and is_supported_mode to not die but return undef. Fix missing 7-bit translation in digital_write