- Name
- TCA6408
- Version
- 1.0.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.githttps://docs.platformio.org/en/latest/core/installation/index.html
python3 -m venv .venv
source .venv/bin/activate
pip install platformio
pio --versionLinux 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.rulessudo service udev restartsudo usermod -a -G dialout $USER && sudo usermod -a -G plugdev $USERsudo apt-get purge --auto-remove modemmanagerYou 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-firmwarepio run -e teensy40
pio run -e mega
pio run -e unomake teensy-upload
make mega-upload
make uno-uploadpio run -e teensy40 -t upload
pio run -e mega -t upload
pio run -e uno -t uploadmake monitorpio device monitor