Datasheet
The NeoPixel is connected to pin #40 in Arduino, so just use our NeoPixel library (https://adafru.it/dhw) and set it up as
a single-LED strand on pin 40. In CircuitPython, the NeoPixel is board.NEOPIXEL and the library for it is
here (https://adafru.it/wby) and in the bundle (https://adafru.it/uap). The NeoPixel is powered by the 3.3V power supply
but that hasn't shown to make a big difference in brightness or color. The NeoPixel is also used by the bootloader to
let you know if the device has enumerated correctly (green) or USB failure (red). In CircuitPython, the LED is used to
indicate the runtime status.
The SPI Flash is connected to 4 pins that are not brought out on the GPIO pads. This way you don't have to worry
about the SPI flash colliding with other devices on the main SPI connection. Under Arduino, the FLASH SCK pin is #38,
MISO is #36, MOSI is #37, and CS is #39. If you use Metro M0 Express as your board type, you'll be able to access the
Flash SPI port under SPI1 - this is a fully new hardware SPI device separate from the GPIO pins on the outside edge of
the Feather. In CircuitPython, the SPI flash is used natively by the interpretter and is read-only to user code, instead the
Flash just shows up as the writeable disk drive!
Other Pins!
© Adafruit Industries https://learn.adafruit.com/adafruit-metro-m0-express-designed-for-circuitpython Page 16 of 198










