waveblender/pot.h
2020-04-13 11:11:17 +02:00

16 satır
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