Get this locally with:
git clone https://github.com/aforren1/teensy-sensors
And update with:
git pull
The complete schematic can be found here:https://easyeda.com/normal/testproject_schem-02BzxvtPM.png
Other things:
Platformio setup (Ubuntu at least):
sudo python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
# (download 99-platformio-udev.rules)
sudo cp 99-platformio-udev.rules /etc/udev/rules.d/99-platformio-udev.rules
sudo service udev restart
# in project directory...
platformio init --board teensy31
# to build & upload,
platformio run --target upload
# see platformio.ini for settings I like
TODO: Figure out when sudo is/isn't needed.