![]() |
Fraise
2.1
FRAmework for Interfacing Software and Electronics
|
#include <fruit.h>
Go to the source code of this file.
Macros | |
Settings to put in config.h | |
You must define the serial port : #define DMX_UART_NUM [1/2]
#define DMX_UART_PIN [pin]
| |
#define | DMX_NBCHAN |
DMX_NBCHAN default is 128, maybe overloaded up to 256 (TODO:512 but memory issue at compile time when tested). | |
Functions | |
Initialization | |
void | DMXInit () |
Init the module in setup() | |
Main loop functions | |
void | DMXService () |
Module service routine, to be called by the main loop(). | |
Utilities | |
unsigned int | DMXframeCount |
void | DMXSet (unsigned int channel, unsigned char value) |
Set value of a DMX channel. More... | |