mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-05 21:24:27 -04:00
External module api (#2290)
* added external module debug view * integrated module driver into i2c subsystem * implemented i2c app loader * added view mirror api * fixed build * added i2c to module api * implemented standalone app touch event * implemented focus management * reverted formating change * refactoring * refactoring * implemented events * fixed memory usage
This commit is contained in:
parent
5a0066963e
commit
dcaa02c1e1
18 changed files with 667 additions and 24 deletions
|
@ -35,6 +35,7 @@ enum I2C_DEVMDL {
|
|||
I2CDEVMDL_BMP280,
|
||||
I2CDEVMDL_BME280,
|
||||
I2CDECMDL_BH1750,
|
||||
I2CDECMDL_PPMOD,
|
||||
};
|
||||
|
||||
#define I2CDEV_BMX280_ADDR_1 0x76
|
||||
|
@ -47,6 +48,8 @@ enum I2C_DEVMDL {
|
|||
|
||||
#define I2CDEV_BH1750_ADDR_1 0x23
|
||||
|
||||
#define I2CDEV_PPMOD_ADDR_1 0x51
|
||||
|
||||
// this will be the update interval for battery management ic's:
|
||||
#define BATTERY_WIDGET_REFRESH_INTERVAL 10
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue