OK now that you have Arduino IDE set up, drivers installed if necessary and you've practiced uploading code, you can start installing all the Libraries we'll be using to program it.

There's a lot of libraries!

Install Libraries

Open up the library manager...

And install the following libraries:

Adafruit NeoPixel

This will let you light up the LEDs on the front

Adafruit DMA NeoPixel

This adds a special NeoPixel library that uses DMA so the NeoPixel stuff happens without processor time taken.

Adafruit Unified Sensor

The underlying sensor library for ADXL343 support

Adafruit SPIFlash

This will let you read/write to the onboard FLASH memory with super-fast QSPI support

Adafruit Keypad

Our Keypad support library (for reading the button matrix)


So you can have the Trellis M4 act like a MIDI device over USB


The ADXL343 Library which provides accelerometer support

NeoTrellis M4

The NeoTrellis_M4 Library that handles MIDI, LEDs & button presses

SdFat - Adafruit Fork

Our fork of the SdFat library provides read/write access to FAT16/FAT32 file systems on SD/SDHC flash cards.

Audio - Adafruit Fork

Our fork of the Audio library provides a toolkit for building streaming audio projects.

This guide was first published on Oct 31, 2018. It was last updated on Jul 15, 2024.

This page (Arduino Libraries) was last updated on Mar 08, 2024.

Text editor powered by tinymce.