Frank
e28d303d4c
adjust RTC usermod for "MM Style"
2023-09-19 22:54:08 +02:00
Frank
6d1fd3aaa0
usermod updates: RTC, BH1750
...
RTC: smarter rules for updating RTC time
BH1750 (light meter): allow to use without MQTT; updates for MM specific I2C handling.
2023-03-13 14:09:35 +01:00
Frank
39ad4955b7
Adjust some usermods to use global I2C
...
* usermods only need to to `if (!pinManager.joinWire()) return;`
* joinWire will
* * check if global I2C are defined - return false if not defined
* * aloocate HW_I2C pins - return false on error
* * call Wire.begin() if needed.
2023-01-08 21:11:50 +01:00
Ewoud
642d7d91ea
i2c_sda, i2c_scl, spi_mosi, spi_miso, spi_sclk without HW_PIN_*, bh1750
...
platformio:
- add bh1750 to _max
- define rotary defaults for wemos
usermod_bh1750
- Remove HW_PIN_* and replace by i2c_sda etc
- add appendConfigData
usermods mpu6050_imu, rtc, 4ld, pinmanager
- Remove HW_PIN_*
change SDA2:pin (etc) to SDA:pin
2023-01-05 16:35:49 +01:00
Frank
40bea36f58
small update for RTC usermod
2023-01-02 18:04:27 +01:00
Frank
18d649a3a5
usermods: delay I2C pin allocation
...
delay i2C allocation / startup if global I2C pins = -1
2022-12-18 23:12:38 +01:00
Frank
2c9cde4096
I2C usermods: make sure that no Wire-begin(-1, -1) sneaks through
2022-12-17 21:42:16 +01:00
Frank
dae6de76f1
Improve co-existence of usermods sharing I2C
...
Improve co-existence of several popular usermods with respect to shared I2C bus.
- ensure that i2c_sda and i2c_scl are used when defined
- ensure that HW_PIN_SDA / HW_PIN_SCL are not overwritten
- ensure that Wire.begin()nis always called with user-defined pins (remove rogue Wire.begin() without parameters)
- ensure that set.cpp / cfg.cpp use esp32-specific global Wire objects.
2022-12-17 19:45:45 +01:00
srg74
8caeddde15
Spelling check by @wthomson ( #2940 )
...
A lot of spelling corrections. Now repo will sound like educated person :)
Co-authored-by: Bill Thomson <bt@kattt.org >
2022-12-10 16:12:55 +01:00
Blaz Kristan
1de009a80d
I2C & SPI fixes. Global interface.
2022-08-14 13:05:59 +02:00
Blaz Kristan
957948f906
Code optimisations in effects.
...
Remove Wire initialisation from RTC.
Peek fix.
2022-08-09 21:14:37 +02:00
Blaž Kristan
0a5a0bef48
Enhanced usermods. ( #2522 )
2022-02-01 09:33:57 +01:00
cschwinne
c2892d7887
Add UDP sync of system time
2021-05-27 02:02:02 +02:00
cschwinne
8431d0bd5c
Replace Time with Toki
2021-05-25 09:59:19 +02:00
cschwinne
2d586406da
First working Elekstube IPS and RTC mod
2021-05-21 10:10:29 +02:00