Search found 3 matches

by egionet
Thu Oct 31, 2024 10:02 pm
Forum: ESP-IDF
Topic: Rewrite I2C read / write functions to use newer driver/i2c_master.h API
Replies: 6
Views: 6817

Re: Rewrite I2C read / write functions to use newer driver/i2c_master.h API

Hi, A bmp280 example using i2c_master.h is available here: https://github.com/K0I05/esp32-s3/tree/main/examples/ESP32-S3_I2C-BMP280_20240515 I am working on the bmp680 driver and hope to post it soon. Available drivers are listed here: https://github.com/K0I05/esp32-s3/tree/main/peripherals/i2c Rega...
by egionet
Thu Sep 26, 2024 4:41 am
Forum: General Discussion
Topic: Trigger an action every "exact" second after syncing with NTP Server
Replies: 5
Views: 12715

Re: Trigger an action every "exact" second after syncing with NTP Server

Take a look at the following example: https://github.com/K0I05/esp32-s3/tree/main/examples/ESP32-S3_DATA-LOGGER_20240924/components/esp_datalogger The task_schedule.h component is a user-defined task delay that synchronizes with the system clock and accounts for the time it takes to run the task (~1...