Skip to content

Instantly share code, notes, and snippets.

@rzbrk
Created August 4, 2021 21:13
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 rzbrk/ead061357f0cc101959595f392e08e5f to your computer and use it in GitHub Desktop.
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
#!/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