robotics-masters / seesaw-circuitpython

I2C friend to expand capabilities of other chips - for CircuitPython.
GNU General Public License v3.0
1 stars 0 forks source link

NeoPixel Implementation #3

Open wallarug opened 5 years ago

wallarug commented 5 years ago

Please implement NeoPixels in CircuitPython Seesaw:

seesaw/include/RegisterMap.h

//* ============== NEOPIXEL =================== *//
#define SEESAW_NEOPIXEL_BASE 0x0E

    /****** STATUS *****/
    #define SEESAW_NEOPIXEL_STATUS 0x00

    /****** PIN *****/
    #define SEESAW_NEOPIXEL_PIN 0x01

    /****** SPEED *****/
    #define SEESAW_NEOPIXEL_SPEED 0x02

    /****** BUFFER LENGTH *****/
    #define SEESAW_NEOPIXEL_BUF_LENGTH 0x03

    /****** BUFFER DATA *****/
    #define SEESAW_NEOPIXEL_BUF 0x04

    /****** SHOW *****/
    #define SEESAW_NEOPIXEL_SHOW 0x05

Documentation can be found here: https://learn.adafruit.com/adafruit-seesaw-atsamd09-breakout/neopixel

How to guide for CircuitPython here: https://learn.adafruit.com/circuitpython-essentials/circuitpython-neopixel