- Name
- TCA6408
- Version
- 0.1.0
- License
- BSD
- URL
- https://github.com/janelia-arduino/TCA6408
- Author
- Peter Polidoro
- [email protected]
Arduino interface library for the TI TCA6408 8-bit I2C I/O Expander.
https://github.com/janelia-arduino/TCA6408.git
git clone https://github.com/janelia-arduino/TCA6408.git
https://docs.platformio.org/en/latest/core/installation/index.html
python3 -m venv .venv
source .venv/bin/activate
pip install platformio
pio --version
Linux users have to install udev rules for PlatformIO supported boards/devices.
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
sudo service udev restart
sudo usermod -a -G dialout $USER && sudo usermod -a -G plugdev $USER
sudo apt-get purge --auto-remove modemmanager
You will need to log out and log back in again (or reboot) for the user group changes to take effect.
After this file is installed, physically unplug and reconnect your board.
make teensy-firmware
make mega-firmware
make uno-firmware
pio run -e teensy40
pio run -e mega
pio run -e uno
make teensy-upload
make mega-upload
make uno-upload
pio run -e teensy40 -t upload
pio run -e mega -t upload
pio run -e uno -t upload
make monitor
pio device monitor