Implement first draft of working DMX. Still needs rework and beatifying
This commit is contained in:
@@ -34,4 +34,16 @@ void dmx_init(uint32_t base_channel);
|
||||
*/
|
||||
const uint8_t *dmx_get_data(void);
|
||||
|
||||
/**
|
||||
* @brief Check if a break was received. This resets the flag
|
||||
* @return true if a break was received since the last time calling this function
|
||||
*/
|
||||
bool dmx_poll_break_received(void);
|
||||
|
||||
/**
|
||||
* @brief The DMX receiver has received all data for the ring light. It can be read
|
||||
* @return
|
||||
*/
|
||||
bool dmx_enough_data_received(void);
|
||||
|
||||
#endif /* _DMX_H_ */
|
||||
|
Reference in New Issue
Block a user