#include "dev/neopixel.h"
Go to the source code of this file.
Classes | |
class | daisy::NeoTrellisI2CTransport |
struct | daisy::NeoTrellisI2CTransport::Config |
class | daisy::NeoTrellis< Transport > |
Device support for the Adafruit Neotrellis device. More... | |
union | daisy::NeoTrellis< Transport >::keyEventRaw |
union | daisy::NeoTrellis< Transport >::keyEvent |
struct | daisy::NeoTrellis< Transport >::keyEvent::Bit |
union | daisy::NeoTrellis< Transport >::keyState |
struct | daisy::NeoTrellis< Transport >::Config |
Namespaces | |
namespace | daisy |
Hardware defines and helpers for daisy field platform. | |
Macros | |
#define | DSY_NEO_TRELLIS_H |
#define | NEO_TRELLIS_ADDR 0x2E |
#define | NEO_TRELLIS_NEOPIX_PIN 3 |
#define | NEO_TRELLIS_NUM_ROWS 4 |
#define | NEO_TRELLIS_NUM_COLS 4 |
#define | NEO_TRELLIS_NUM_KEYS (NEO_TRELLIS_NUM_ROWS * NEO_TRELLIS_NUM_COLS) |
#define | NEO_TRELLIS_MAX_CALLBACKS 32 |
#define | NEO_TRELLIS_KEY(x) (((x) / 4) * 8 + ((x) % 4)) |
#define | NEO_TRELLIS_SEESAW_KEY(x) (((x) / 8) * 4 + ((x) % 8)) |
#define | NEO_TRELLIS_X(k) ((k) % 4) |
#define | NEO_TRELLIS_Y(k) ((k) / 4) |
#define | NEO_TRELLIS_XY(x, y) ((y)*NEO_TRELLIS_NUM_ROWS + (x)) |
Typedefs | |
using | daisy::NeoTrellisI2C = NeoTrellis< NeoTrellisI2CTransport > |
#define DSY_NEO_TRELLIS_H |
#define NEO_TRELLIS_ADDR 0x2E |
#define NEO_TRELLIS_KEY | ( | x | ) | (((x) / 4) * 8 + ((x) % 4)) |
#define NEO_TRELLIS_MAX_CALLBACKS 32 |
#define NEO_TRELLIS_NEOPIX_PIN 3 |
#define NEO_TRELLIS_NUM_COLS 4 |
#define NEO_TRELLIS_NUM_KEYS (NEO_TRELLIS_NUM_ROWS * NEO_TRELLIS_NUM_COLS) |
#define NEO_TRELLIS_NUM_ROWS 4 |
#define NEO_TRELLIS_SEESAW_KEY | ( | x | ) | (((x) / 8) * 4 + ((x) % 8)) |
#define NEO_TRELLIS_X | ( | k | ) | ((k) % 4) |
#define NEO_TRELLIS_XY | ( | x, | |
y | |||
) | ((y)*NEO_TRELLIS_NUM_ROWS + (x)) |
#define NEO_TRELLIS_Y | ( | k | ) | ((k) / 4) |