WPILibC++ 2025.0.0-alpha-1-9-ga2beb75
AddressableLEDTypes.h
Go to the documentation of this file.
1// Copyright (c) FIRST and other WPILib contributors.
2// Open Source Software; you can modify and/or share it under the terms of
3// the WPILib BSD license file in the root directory of this project.
4
5#pragma once
6
7#include <stdint.h>
8
9/** max length of LED strip supported by FPGA. */
10#define HAL_kAddressableLEDMaxLength 5460
11
12/** structure for holding one LED's color data. */
14 uint8_t b; ///< blue value
15 uint8_t g; ///< green value
16 uint8_t r; ///< red value
17 uint8_t padding;
18};
structure for holding one LED's color data.
Definition: AddressableLEDTypes.h:13
uint8_t r
red value
Definition: AddressableLEDTypes.h:16
uint8_t padding
Definition: AddressableLEDTypes.h:17
uint8_t g
green value
Definition: AddressableLEDTypes.h:15
uint8_t b
blue value
Definition: AddressableLEDTypes.h:14