esp32-weather-station icon indicating copy to clipboard operation
esp32-weather-station copied to clipboard

Code working

Open manroop5 opened this issue 4 years ago • 4 comments

Hello again, I tried changing parameters and code seems to be working to some extent. I am not sure if there is problem with the code.

I changed 2 things (in your code) after which I am able to see "Connecting to Wifi" on the screen which was blank before. So now I am thinking the problem is with the code. 2 changes I made are 1.) ILI9341_SPI tft = ILI9341_SPI(TFT_CS, TFT_DC); -->> ILI9341_SPI tft = ILI9341_SPI(TFT_CS, TFT_DC, TFT_RST); 2.) Adding connectWifi(); after line 172 after gfx.commit(); Please help if you can as I bought sps30 thinking this code would work

Thanks

manroop5 avatar Feb 04 '21 03:02 manroop5

I too am having the same issue..a blank screen, and I know the ESP32 module is functional, as it works with other code.

I tried adding edit number 1, and get message it is out of scope, need to dig into that further.

I do believe the issue is with the pin connections from ESP32 to the TFT display. Since there is nothing as far as a wiring diagram I am assuming no mods to either board are required. Please confirm.

ghost avatar Aug 01 '21 23:08 ghost

Fixed the scope issue, added a define statement, get connecting to wifi..then nothing.

Working now on the wifi connect issue. I can see I'm connected...so definitely a bug in the code.

ghost avatar Aug 02 '21 00:08 ghost

I had to do a change for the BME280 as the Adafruit driver changed, bit then U still can compile the code and also it still works on my target. Maybe you use a different hardware then me?

moeskerv avatar Aug 02 '21 18:08 moeskerv

in the wip_scd30 branch I recently added support for a scd30 CO2 sensor. Your may also try this branch. This is the version I checked today.

moeskerv avatar Aug 02 '21 18:08 moeskerv