A MakeCode package for Adafruit Seesaw I2C protocol.
- Go to Advanced, Extensions and search for seesaw, then add it to your project.
Create a seesaw.Seesaw
object and call the various interfaces.
Optionally, pass the i2c device address in the constructor.
- install the PXT cli (make sure Node.js 8+ is installed)
npm install -g pxt
- clone the repository
git clone https://github.com/Adafruit/pxt-seesaw
- install the Adafruit editor
pxt target adafruit
- build and run test
pxt
To create a new release, run pxt bump
from the project folder. Use semver
logic to device if you need to bump major, minor etc... The editor will automatically pick the latest release in the repo.
MIT
- for PXT/adafruit https://makecode.adafruit.com
- for PXT/maker https://maker.makecode.com
- for PXT/microbit https://makecode.microbit.org
- for PXT/arcade https://arcade.makecode.com
- for PXT/codal
(The metadata above is needed for package search.)