Created
August 4, 2021 21:13
-
-
Save rzbrk/ead061357f0cc101959595f392e08e5f to your computer and use it in GitHub Desktop.
Kermit script to connect to Calliope Mini Microcontroller Board via USB Serial Port
This file contains 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
#!/usr/bin/kermit + | |
# First argument must be present and specifying the port to use | |
if not defined \%1 { | |
echo "First argument has to be port (e.g. /dev/ttyACM0)" | |
exit | |
} | |
set line \%1 | |
set speed 115200 | |
set carrier-watch off | |
set flow-control none | |
set terminal echo local | |
set terminal newline on | |
# The second argument is the file name for the session logs | |
if defined \%2 { | |
log session \%2 | |
} | |
connect |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment