ASMESDC2018
Classes | Macros
/home/swerve/Github/sdc_2018/omni_robot/LED.h File Reference

Header file for LED class More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LEDState
 
struct  LEDPins
 
class  LED
 

Macros

#define COMMON_ANODE
 
#define COLOR_NONE   0
 
#define COLOR_RED   1
 
#define COLOR_YELLOW   2
 
#define COLOR_GREEN   3
 
#define MIN_STATE_VAL   0
 
#define MAX_STATE_VAL   3
 
#define MIN_COLOR_VALUE   0
 
#define MAX_COLOR_VALUE   255
 
#define BLINK_OFF   0
 
#define BLINK_ON   1
 
#define BLINK_SPEED   250
 
#define SIDE_BOTH   0
 
#define SIDE_LEFT   1
 
#define SIDE_RIGHT   2
 

Detailed Description

Header file for LED class

Author
Frederick Wachter - wacht.nosp@m.erfr.nosp@m.eddy@.nosp@m.gmai.nosp@m.l.com
Date
Created: 2018-03-06

Definition in file LED.h.

Macro Definition Documentation

#define BLINK_OFF   0

Definition at line 23 of file LED.h.

#define BLINK_ON   1

Definition at line 24 of file LED.h.

#define BLINK_SPEED   250

Definition at line 25 of file LED.h.

#define COLOR_GREEN   3

Definition at line 16 of file LED.h.

#define COLOR_NONE   0

Definition at line 13 of file LED.h.

#define COLOR_RED   1

Definition at line 14 of file LED.h.

#define COLOR_YELLOW   2

Definition at line 15 of file LED.h.

#define COMMON_ANODE

Definition at line 11 of file LED.h.

#define MAX_COLOR_VALUE   255

Definition at line 21 of file LED.h.

#define MAX_STATE_VAL   3

Definition at line 18 of file LED.h.

#define MIN_COLOR_VALUE   0

Definition at line 20 of file LED.h.

#define MIN_STATE_VAL   0

Definition at line 17 of file LED.h.

#define SIDE_BOTH   0

Definition at line 27 of file LED.h.

#define SIDE_LEFT   1

Definition at line 28 of file LED.h.

#define SIDE_RIGHT   2

Definition at line 29 of file LED.h.