blob: 96deaae6b5c7b3c48cfd0ae9d142f852129d8070 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef PWM_H
#define PWM_H
#include <stdint.h>
void pwmInit ();
void pwmStart ();
void pwmStop ();
void pwmSet (const uint8_t, const uint8_t);
/* LED on (max brightness) */
#define PWM_ON UINT8_MAX
/* LED off */
#define PWM_OFF 0
#define PWM_LED_COUNT 6
#define PWM_MAX_BRIGHTNESS 8
#endif /* PWM_H */
|