Thomas Kolb
a4e935692a
- 7-segment display controlled via PIO and DMA - buzzer works with PWM - millisecond trigger interrupt works
13 lines
192 B
C
13 lines
192 B
C
#ifndef SSEG_H
|
|
#define SSEG_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
void sseg_init(void);
|
|
void sseg_loop(void);
|
|
|
|
void sseg_set_char(uint8_t seg, char c, bool with_dot);
|
|
|
|
#endif // SSEG_H
|