This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Basic setup script for devices | |
# Works on OSX + should also work for Unix. | |
# Users of Windows 10 (or higher) can likely use the builtin Ubuntu install. | |
# | |
# We need to do the following: | |
# 1. Query the computer for the relevant USB port | |
# 2. Set the device to listening mode (if required) | |
# 3. Query the device for the deviceID |