void dsp0401_clear_text(const dsp0401_t *dev)
Clear the text displayed on the DSP0401.
@ DSP0401_ERR_SDI_GPIO
Something went wrong with SDI GPIO.
@ DSP0401_ERR_LAT_GPIO
Something went wrong with LAT GPIO.
@ DSP0401_ERR_CLK_GPIO
Something went wrong with CLK GPIO.
uint8_t pwm_channel
PWM device channel.
Device initialization parameters.
void dsp0401_scroll_text(const dsp0401_t *dev, char *text, uint16_t delay)
Scroll the given text on the DSP0401.
int dsp0401_init(dsp0401_t *dev, const dsp0401_params_t *params)
Initialize the given DSP0401.
void delay(unsigned long msec)
Sleep for a given amount of time [milliseconds].
Device descriptor for the DSP0401.
gpio_t sdi
Data input pin.
Low-level GPIO peripheral driver interface definitions.
uint8_t module_count
Number of connected modules.
uint8_t brightness
LED brightness.
Low-level PWM peripheral driver interface definitions.
unsigned int pwm_t
Default PWM type definition.
dsp0401_params_t params
Device parameters.
@ DSP0401_ERR_PWM
Something went wrong with PWM.
Adds include for missing inttype definitions.
void dsp0401_display_text(const dsp0401_t *dev, char *text)
Display the given text on the DSP0401.