Skip to content

Instantly share code, notes, and snippets.

@gjrevans
Last active December 29, 2021 20:58
Show Gist options
  • Save gjrevans/540e1fc29f21b1083cd3b3ed763e7714 to your computer and use it in GitHub Desktop.
Save gjrevans/540e1fc29f21b1083cd3b3ed763e7714 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Install Python 3
echo "Installing Python 3..."
sudo apt install python3-pip
echo
# Install Python 3
echo "Installing PY Serial Monitor..."
python -m pip install pyserial
echo
echo -e "Use command: cp_monitor to begin cleanphone serial monitor..."
alias cp_monitor='python -m serial.tools.miniterm /dev/ttyUSB0 115200'
echo
rm setup_cp_monitor.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment