#ifndef POTMUX_H
#define	POTMUX_H

#include "synth.h"

#define POTMUX_POT_COUNT 32

uint16_t potmux_getValue(p600Pot_t pot);

int8_t potmux_hasChanged(p600Pot_t pot);
p600Pot_t potmux_lastChanged(void);
void potmux_resetChanged(void);

void potmux_init(void);

void potmux_update(uint8_t regularPotCount);


#endif	/* POTMUX_H */

