I2C device manager (#2282)

* message on dev list change

* dc detect

* added sht3x sensor.

* separete environment data from light

* max17055 moved to i2c dev

* sht fix, goterror detection fix

* fix ext sensor app display for a lot of devices.

* added bh1750 driver

* autoscan on main view

* added devlist mutex

* better timing

* fix h2 sw8 on poweron by usb
This commit is contained in:
Totoo 2024-10-06 22:14:27 +02:00 committed by GitHub
parent d4edb5f5f9
commit 83b65ba6ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 1459 additions and 472 deletions

View file

@ -27,6 +27,9 @@
#include "ui_widget.hpp"
#include "ui_navigation.hpp"
#include "string_format.hpp"
#include "i2cdevmanager.hpp"
#include "i2cdev_max17055.hpp"
#include "i2cdev_ads1110.hpp"
namespace ui {
class BattinfoView : public View {
@ -43,6 +46,8 @@ class BattinfoView : public View {
private:
void update_result();
void update_results_max17055(i2cdev::I2cDev_MAX17055* dev);
void update_results_ads1110(i2cdev::I2cDev_ADS1110* dev);
void on_timer();
NavigationView& nav_;
uint16_t timer_period = 60;