You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
419 B
13 lines
419 B
#ifndef PHYSICAL_CONTROLS_H_
|
|
#define PHYSICAL_CONTROLS_H_
|
|
|
|
#include "BALibrary.h"
|
|
|
|
#define USE_OLED // Comment this line if you don't want to use the OLED or it's dependencies.
|
|
|
|
void configPhysicalControls(BALibrary::BAPhysicalControls* controls, BALibrary::BAAudioControlWM8731master* codec);
|
|
void checkPot(unsigned id);
|
|
int checkSwitch(unsigned id, bool getValueOnly=false);
|
|
void checkEncoder(unsigned id);
|
|
|
|
#endif
|
|
|