SubZero Common
Common library components for an FRC CommandRobot
Loading...
Searching...
No Matches
ConnectorX Namespace Reference

Namespaces

namespace  Commands
 

Classes

struct  CachedDevice
 
struct  CachedPort
 
struct  CachedZone
 Stores the state of the Connector-X device locally. More...
 
class  ConnectorXBoard
 Driver for use with the I2C, V2 iteration of Connector-X. More...
 
struct  Message
 

Enumerations

enum class  PatternType {
  None = 0 , SetAll = 1 , Blink = 2 , RGBFade = 3 ,
  HackerMode = 4 , Breathe = 5 , SineRoll = 6 , Chase = 7 ,
  AngryEyes = 8 , HappyEyes = 9 , BlinkingEyes = 10 , SurprisedEyes = 11 ,
  Amogus = 12 , OwOEyes = 14
}
 
enum class  PinMode {
  INPUT = 0 , OUTPUT = 1 , INPUT_PULLUP = 2 , INPUT_PULLDOWN = 3 ,
  OUTPUT_2MA = 4 , OUTPUT_4MA = 5 , OUTPUT_8MA = 6 , OUTPUT_12MA = 7
}
 
enum class  DigitalPort { D0 = 0 , D1 = 1 , D2 = 2 }
 
enum class  AnalogPort
 
enum class  LedPort { P0 = 0 , P1 = 1 }
 

Enumeration Type Documentation

◆ AnalogPort

enum class ConnectorX::AnalogPort
strong

Definition at line 272 of file ConnectorX.h.

◆ DigitalPort

enum class ConnectorX::DigitalPort
strong
Enumerator
D0 
D1 
D2 

Definition at line 270 of file ConnectorX.h.

◆ LedPort

enum class ConnectorX::LedPort
strong
Enumerator
P0 
P1 

Definition at line 274 of file ConnectorX.h.

◆ PatternType

enum class ConnectorX::PatternType
strong
Enumerator
None 
SetAll 
Blink 
RGBFade 
HackerMode 
Breathe 
SineRoll 
Chase 
AngryEyes 
HappyEyes 
BlinkingEyes 
SurprisedEyes 
Amogus 
OwOEyes 

Definition at line 242 of file ConnectorX.h.

◆ PinMode

enum class ConnectorX::PinMode
strong
Enumerator
INPUT 
OUTPUT 
INPUT_PULLUP 
INPUT_PULLDOWN 
OUTPUT_2MA 
OUTPUT_4MA 
OUTPUT_8MA 
OUTPUT_12MA 

Definition at line 259 of file ConnectorX.h.