We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3654834 commit 7a99728Copy full SHA for 7a99728
examples/change_address.py
@@ -37,6 +37,10 @@
37
print("Invalid address. Address must be between 0 and 127")
38
exit(1)
39
40
+if new_address == 100:
41
+ print("The address 0x64 is reserved for bootloader mode. Please choose a different address.")
42
+ exit(1)
43
+
44
print(f"Changing address of device at {hex(selected_device.address)} to {hex(new_address)}...")
45
selected_device.change_address(new_address)
46
sleep(1) # Give the device time to reset
0 commit comments