Files @ e4270e6d9529
Branch filter:

Location: protofusion-esp32-template/main/ledstrip.h - annotation

Ethan Zonca
Clean up LED strip implementation, add single LED chase
#ifndef _LED_STRIPPER_H
#define _LED_STRIPPER_H


typedef enum _effect {
  EFFECT_NONE = 0,
  EFFECT_RAINBOW,
  EFFECT_SINGLECHASE,
} effect_t;


void ledstrip_init(void);
void ledstrip_set(uint32_t r, uint32_t g, uint32_t b);
void ledstrip_set_modifier(float frac);
void ledstrip_set_effect(effect_t effect);
void ledstrip_refresh(void);
#endif