RTOS_BME_TFT_SD_Card.ino (7.5 KB)
I am using BME280 sensor with ESP32, 1.8 tft display built in sd data is displaying on display but in sd card data is not saving some it saves data mostly not. As per my code error message on sd write failure apears randomaly istead of every time on log write failure. I also want to acces log file through web interface download option on web gui available but file is not downloading please help
Please read and use this link: How to get the best out of this forum - Development Tools / IDE 1.x - Arduino Forum
which specific ESP32 are you using?
give details of the TFT and SD? links if possible
upload a schematic of the wiring and power supplies
if the SD card is sharing a SPI bus with other devices there can be problems - see Sharing the SPI bus among SD card and other SPI devices
usually I would have the SD on the HSPI bus and other SPI devices on VSPI
[Working_RTOS_BME_TFT_SD_Card.ino|attachment](upload://uyTM6GF86QBhctvZ6QOiBvbJXPy.ino) (7.4 KB)

