33#include "platforms/arm/teensy/is_teensy.h"
35#ifndef FL_IS_TEENSY_4X
36#error "Sorry, ObjectFLED only works on Teensy 4.x boards."
39#error "Teensyduino version 1.21 or later is required to compile this library."
44#include "DMAChannel.h"
51#define OUTPUT_PAD_DSE 3
52#define OUTPUT_PAD_SPEED 0
100#define CORDER_RWBG 19
101#define CORDER_GWRB 20
102#define CORDER_GWBR 21
103#define CORDER_BWRG 22
104#define CORDER_BWGR 23
105#define CORDER_RGWB 24
106#define CORDER_RBWG 25
107#define CORDER_GRWB 26
108#define CORDER_GBWR 27
109#define CORDER_BRWG 28
110#define CORDER_BGWR 29
148 template <
typename TIMING>
154 begin(TIMING::T1, TIMING::T2, TIMING::T3, latch_delay_us);
uint8_t * frameBufferLocal
void begin(uint16_t t1, uint16_t t2, uint16_t t3, uint16_t latch_delay_us=300)
Three-phase timing begin method (T1, T2, T3 format) This method converts 3-phase timing to ObjectFLED...
uint8_t pin_bitnumLocal[NUM_DIGITAL_PINS]
uint8_t pinlist[NUM_DIGITAL_PINS]
uint32_t update_begin_micros
void setBalance(uint32_t)
void genFrameBuffer(uint32_t)
ObjectFLED(uint16_t numLEDs, void *drawBuf, uint8_t config, uint8_t numPins, const uint8_t *pinList, uint8_t serpentine=0)
void waitForDmaToFinish()
void setBrightness(uint8_t)
void showRawFrameBuffer(void)
void begin(uint16_t latch_delay_us=TIMING::RESET)
Template-based begin method - extracts timing from TIMING struct at compile-time This is the preferre...
void beginInternal(uint16_t, uint16_t, uint16_t, uint16_t=300)
uint8_t pin_offsetLocal[NUM_DIGITAL_PINS]
void showInternal(bool regenerateFrameBuffer)
void drawSquare(void *, uint16_t, uint16_t, int, int, uint32_t, uint32_t)
void fadeToColorBy(void *, uint16_t, uint32_t, uint8_t)
Base definition for an LED controller.