16 行
279 B
C
16 行
279 B
C
|
|
#ifndef POT_H_INCLUDED
|
|
#define POT_H_INCLUDED
|
|
#include <stdint.h>
|
|
|
|
|
|
void pot_init(void);
|
|
int pot_get(int p);
|
|
void pot_set(int p, int val);
|
|
void pot_offset(int p, int offset);
|
|
|
|
#define pot_get_master() pot_get(2)
|
|
#define pot_set_master(x) pot_set(2,x)
|
|
#define NUM_POTS 3
|
|
|
|
#endif
|