fix missing 7-bit translation in digital_write