If errors are thrown, check setup below!
activate
python
ssh {username}@{hostname}
You might need to provide that user password.
i2cdetect -y 1
$ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- 49 -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Issue the following commands once you were able to verify the above:
sudo apt update
sudo apt upgrade
sudo apt autoremove
sudo reboot
Check if it is done by typing
activate
in terminal and seeing the following:
python3 -m venv ~/pyenv
~/pyenv/bin/pip install adafruit-circuitpython-crickit
~/pyenv/bin/pip install tornado
echo "alias activate='source ~/pyenv/bin/activate'" >> ~/.bashrc
~/pyenv/bin/python
>>> from adafruit_crickit import crickit
>>> crickit.onboard_pixel.fill(0xFF0000)
env
- view allexport ROBO_DC_ADJUST_R="0.8"
env | grep ROBO_
Import the vars like so:
import os
os.environ['ROBO_DC_ADJUST_R']
'0.8'
find .git/objects/ -type f -empty | xargs rm
git fetch -p
git fsck --full