2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
LED.h File Reference

Manages a single LED. More...

#include <Arduino.h>
#include "MiscConstants.h"

Go to the source code of this file.

Classes

class  LED
 

Variables

constexpr unsigned BLINK_FAST_PERIOD_MS = 500
 
constexpr unsigned BLINK_SLOW_PERIOD_MS = 1000
 
constexpr unsigned PULSE_FAST_PERIOD_MS = 250
 
constexpr unsigned PULSE_SLOW_PERIOD_MS = 500
 
constexpr unsigned char PWM_MIN_BRIGHTNESS = 64
 
constexpr unsigned char PWM_MAX_BRIGHTNESS = 255
 
constexpr unsigned PERIODDIVISOR = 16
 

Detailed Description

Manages a single LED.

Author
David Turner (dkt01)

Variable Documentation

◆ BLINK_FAST_PERIOD_MS

constexpr unsigned BLINK_FAST_PERIOD_MS = 500
constexpr

◆ BLINK_SLOW_PERIOD_MS

constexpr unsigned BLINK_SLOW_PERIOD_MS = 1000
constexpr

◆ PERIODDIVISOR

constexpr unsigned PERIODDIVISOR = 16
constexpr

◆ PULSE_FAST_PERIOD_MS

constexpr unsigned PULSE_FAST_PERIOD_MS = 250
constexpr

◆ PULSE_SLOW_PERIOD_MS

constexpr unsigned PULSE_SLOW_PERIOD_MS = 500
constexpr

◆ PWM_MAX_BRIGHTNESS

constexpr unsigned char PWM_MAX_BRIGHTNESS = 255
constexpr

◆ PWM_MIN_BRIGHTNESS

constexpr unsigned char PWM_MIN_BRIGHTNESS = 64
constexpr