LCC Fusion Project 1.0
LCC Automation
Loading...
Searching...
No Matches
lccnode Namespace Reference

Defines the information needed by LccNodeI2c.h for setting up I2C connections to remote player devices. More...

Enumerations

enum class  EVENT_TYPES { }
 Declares how a GPIO mapping will be used with LCC events. Used to distinguish between Consumer and Producer event mappings. More...
 

Variables

static constexpr uint8_t LCC_NODE_NUM_I2C_BUSES = 2
 number of I2C busses to use (1 or 2)
 
static constexpr gpio_num_t LCC_NODE_CAN_TX_PIN = GPIO_NUM_4
 CAN TX (output) pin.
 
static constexpr gpio_num_t LCC_NODE_CAN_RX_PIN = GPIO_NUM_5
 CAN RX (input) pin.
 
static constexpr uint8_t LCC_NODE_SPI_CS_PIN = 16
 SPI CS (output) pin for use with SD Card Reader Module.
 
static constexpr uint8_t LCC_NODE_SPI_SCK_PIN = 26
 SPI SCK (output) pin for use with SD Card Reader Module.
 
static constexpr uint8_t LCC_NODE_SPI_MISO_PIN = 19
 SPI MISO (input) pin for use with SD Card Reader Module.
 
static constexpr uint8_t LCC_NODE_SPI_MOSI_PIN = 23
 SPI CS (output) pin for use with SD Card Reader Module.
 
static constexpr uint32_t LCC_NODE_SPI_FREQUENCY = 4000000
 SPI frequency (average speed, works with SD reader)
 

Detailed Description

Defines the information needed by LccNodeI2c.h for setting up I2C connections to remote player devices.


Enumeration Type Documentation

◆ EVENT_TYPES

enum class lccnode::EVENT_TYPES
strong

Declares how a GPIO mapping will be used with LCC events. Used to distinguish between Consumer and Producer event mappings.

Enumerator
PRODUCER 

This GPIO mapping is an LCC consumer (reacts to incoming events).

Definition at line 58 of file LccNodeConfig.h.