matthias-bs / BresserWeatherSensorTTN

Bresser 5-in-1/6-in-1/7-in-1 868 MHz Weather Sensor Radio Receiver based on ESP32 and RFM95W/SX1276 - sends data to a LoRaWAN Network (e.g. The Things Network)
MIT License
22 stars 9 forks source link

Outputting Bresser data on TTGO ESP32 OLED board #42

Closed mczakk closed 1 year ago

mczakk commented 1 year ago

Hi Matthias, I have used your code, and also that of @Uspizig to output the bresser data on the screen of the ESP32 board. I have put the code in my own repository here: https://github.com/mczakk/TTGO-ESP32-Bresser-with-display I am struggling to extract the current time as generated by the function 'printDateTime' (line 975)so that I can print it on the screen (line 1533) I tried to put in a public function (lines 985 - 996) to store the value of tbuf, but it doesnt seem to work :( Could you possibly advise?

Many Thanks

mczakk commented 1 year ago

whats the

14:27:07.889 -> 
14:27:07.889 -> Core  1 register dump:
14:27:07.889 -> PC      : 0x400d4fcd  PS      : 0x00060630  A0      : 0x800d5074  A1      : 0x3ffc9860  
14:27:07.889 -> A2      : 0x3ffc98ec  A3      : 0x00847628  A4      : 0x00000084  A5      : 0x3ffc5f04  
14:27:07.889 -> A6      : 0x00008476  A7      : 0x3ffc98cc  A8      : 0x3ffc5f04  A9      : 0x33be27a0  
14:27:07.921 -> A10     : 0x3ffc98cc  A11     : 0x00000000  A12     : 0x00000000  A13     : 0x3ffc5f04  
14:27:07.921 -> A14     : 0x3ffc991c  A15     : 0x63ffffff  SAR     : 0x0000001b  EXCCAUSE: 0x0000001c  
14:27:07.921 -> EXCVADDR: 0x00847658  LBEG    : 0x400871b4  LEND    : 0x400871bf  LCOUNT  : 0x00000000  
14:27:07.921 -> 
14:27:07.921 -> 
14:27:07.921 -> Backtrace: 0x400d4fca:0x3ffc9860 0x400d5071:0x3ffc9890 0x400d4b5b:0x3ffc9990 0x400d4bf4:0x3ffc99b0 0x400d4c34:0x3ffc99d0 0x400d5b51:0x3ffc99f0 0x400d6fb9:0x3ffc9a10 0x400d74f6:0x3ffc9a30 0x400d8361:0x3ffc9a50 0x400d4eab:0x3ffc9a70 0x400d47e9:0x3ffc9a90 0x400e0efd:0x3ffc9ab0

bit about then? :)

matthias-bs commented 1 year ago

You could try this ESP Stack Trace Decoder: https://github.com/littleyoda/EspStackTraceDecoder