![]() |
Pico Led Controller 1.0.3
A project to control LEDs using Raspberry Pi Pico W
|
#include <stdio.h>
Go to the source code of this file.
Macros | |
#define | URGB(r, g, b) ((uint32_t) (r) << 8) | ((uint32_t) (g) << 16) | (uint32_t) (b) |
#define | URGB_R(color) ((color >> 8) & 0xFF) |
#define | URGB_G(color) ((color >> 16) & 0xFF) |
#define | URGB_B(color) (color & 0xFF) |
#define URGB | ( | r, | |
g, | |||
b | |||
) | ((uint32_t) (r) << 8) | ((uint32_t) (g) << 16) | (uint32_t) (b) |