Skip to content

Instantly share code, notes, and snippets.

@timb-machine
Last active September 4, 2017 03:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timb-machine/7373deac21fe736cd7f2f88c60e69bac to your computer and use it in GitHub Desktop.
Save timb-machine/7373deac21fe736cd7f2f88c60e69bac to your computer and use it in GitHub Desktop.
Biscuit example
$ sudo ./biscuit.py
[@] biscuit> scan
['/dev/ttyUSB0']
[@] biscuit> select /dev/ttyUSB0
[@/dev/ttyUSB0] biscuit> open
[@/dev/ttyUSB0 *] biscuit> available
['modules/local/ATTRACE.py', 'modules/local/BaudRate.py', 'modules/local/RunScript.py', 'modules/local/Terminal.py']
[@/dev/ttyUSB0 *] biscuit> use modules/local/ATTRACE.py
ATTRACE
[ATTRACE@/dev/ttyUSB0 *] biscuit> show
/dev/ttyUSB0
{'baudrate': 115200, 'local': 1}
ATTRACE
{'devicefilename': '/dev/ttyACM1', 'outputfilename': 'trace'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment