Skip to content

Instantly share code, notes, and snippets.

@cyfinfaza
Created July 11, 2024 20:34
Show Gist options
  • Save cyfinfaza/737326dca304e64ecbfd1d5cdc06cbe5 to your computer and use it in GitHub Desktop.
Save cyfinfaza/737326dca304e64ecbfd1d5cdc06cbe5 to your computer and use it in GitHub Desktop.
MagTilePython script to do a few tests and blinkall
import TileController
with TileController.TileController("/dev/tty.usbmodem101") as tc:
print(tc.read_width())
print(tc.read_height())
print(tc.read_address_list())
print(tc.scan_addresses())
tc.blinkall_start()
input("Press Enter to stop blinking")
tc.blinkall_stop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment