Configuration

The SPI configuration is stored on the sdcard in the file "devices.txt".

It is a comma-separated file which describes the configuration for each SPI device connected :

'SPI{0/1}', 'device name', 'device address', 'DMX start address', 'clock speed in Hz[:pixel count]'

The supported devices can be found here. When '0' is used for the 'clock speed' then the default clock speed is selected.

The 'pixel count' is optional for the WS28xx devices. Default value is 170 (DMX_UNIVERSE_SIZE / WS28xx_SLOTS_PER_PIXEL).

Example:

#SPI0,mcp23s17,0,1,0

#SPI0,bw_spi_dio,84,1,0

#SPI1,bw_spi_relay,8E,8,0

#SPI1,mcp23s08,0,9,0

#SPI0,ws2801,0,1,0:32

#SPI0,ws2812,0,1,0:15

SPI0,ws2812b,0,1,0:60

The RDM device configuration is stored on the sdcard in the file "rdm_device.txt"

Example:

manufacturer_name=Open Lighting

#manufacturer_id=7A70

#device_label=

device_external_monitor=1

The Sensors configuration is stored on the sdcard in the file "sensors.txt"