14 lines
300 B
C
14 lines
300 B
C
|
#ifndef _DMX_H_
|
||
|
#define _DMX_H_
|
||
|
|
||
|
#include <stdint.h>
|
||
|
|
||
|
|
||
|
void dmx_init(uint8_t *data, uint32_t universe_length, GPIO_TypeDef *tx_port, uint8_t tx_pin,
|
||
|
uint16_t dmx_delay, uint16_t dmx_break_len, uint16_t break_pause);
|
||
|
|
||
|
void dmx_stream_start(void);
|
||
|
|
||
|
void dmx_stream_stop(void);
|
||
|
|
||
|
#endif /* _DMX_H_ */
|