Added ICM, knob CCs
This commit is contained in:
parent
e757ebc885
commit
00cdfc08e0
7 changed files with 125 additions and 46 deletions
|
|
@ -16,6 +16,11 @@ extern WS2812Serial ledStrip;
|
|||
extern Adafruit_Sensor *accelSensor;
|
||||
extern Adafruit_ICM20948 icmSensor;
|
||||
|
||||
struct icm_result_t {
|
||||
float tilt;
|
||||
float roll;
|
||||
};
|
||||
|
||||
void initHardware();
|
||||
void updateFilters(preset_t &preset);
|
||||
bool checkButtonState(uint8_t mask); // return true if the given buttons are pressed
|
||||
|
|
@ -28,6 +33,7 @@ uint16_t utilTouched();
|
|||
int readPressure();
|
||||
int readAltPressure();
|
||||
int readSpikePressure();
|
||||
icm_result_t readICM();
|
||||
|
||||
// xEVI hardware setup
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue