aboutsummaryrefslogtreecommitdiffstats
path: root/usr/space_light/include/space_light.h
blob: b0ca6b8c0d0ed0e283cef7edee562e8a8b1af054 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once
#include <stdint.h>

struct RGBCW {
  uint8_t r; // 0-255
  uint8_t g; // 0-255
  uint8_t b; // 0-255
  uint8_t c; // 0-100
  uint8_t w; // 0-100
};

void init_led_thread (void *arg);

void setRGBCW(struct RGBCW* rgbcw);