Skip to content

Instantly share code, notes, and snippets.

@predominant
Created August 3, 2022 10:42
Show Gist options
  • Select an option

  • Save predominant/71dd13911fdd4bcecbe18d45aa559eb4 to your computer and use it in GitHub Desktop.

Select an option

Save predominant/71dd13911fdd4bcecbe18d45aa559eb4 to your computer and use it in GitHub Desktop.

Revisions

  1. predominant created this gist Aug 3, 2022.
    18 changes: 18 additions & 0 deletions rocketpi.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,18 @@
    sudo apt-get update
    sudo apt-get dist-upgrade -y
    sudo apt-get install -y python3 python3-pip python3-venv
    sudo pip3 install --upgrade setuptools
    sudo pip3 install --upgrade adafruit-python-shell
    wget https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/raspi-blinka.py
    sudo python3 raspi-blinka.py
    sudo pip3 install adafruit-circuitpython-pca9685

    # Agree to reboot

    ls /dev/i2c* /dev/spi*

    wget https://learn.adafruit.com/pages/12762/elements/2993427/download -O blinkatest.py
    python3 blinkatest.py

    sudo pip3 install adafruit-circuitpython-pca9685
    sudo pip3 install adafruit-circuitpython-servokit