Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    LilyGo T5-4.7 Inch S3 E-Paper - github Weather project

    Technical Discussion
    t5-4.7 weather project
    2
    12
    1535
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • teastain2
      teastain2 last edited by

      Hi, just a User here:
      LilyGO does not recommend ver 3:
      "Install Arduino ESP32 V 2.0.5 or above and below V3.0 ,recommended to use version 2.0.15, "
      From their GitHub repository !

      I use ver2.0.17 on other LilyGO T-Display S3 boards OK.
      Try that for now!
      -Terry

      J 1 Reply Last reply Reply Quote 0
      • J
        jimbrown.net @teastain2 last edited by

        @teastain2 Tried 2.0.15 I get the following error: https://arduinojson.org/v7/unsupported-as/

        screenshot3.jpg

        I also tried 2.0.17 same error.

        teastain2 1 Reply Last reply Reply Quote 0
        • teastain2
          teastain2 @jimbrown.net last edited by

          @jimbrown-net OK...we're getting somewhere!
          There are at least 2 arduinojson libraries, with SLIGHTLY different names because there was a huge update to the json process.
          Both will work for now, but you must be sure that the LilyGO sketch uses 'which one' and your libraies contain that one.
          I had to delete all Arduinojsons and startover, with only one,

          #include <Arduino_JSON.h>
          

          My recent nixie NTP clock project
          1024jpeg.jpg

          Your project looks like Blanchon, so go with that one ONLY

          Try and see!
          -Terry

          J 1 Reply Last reply Reply Quote 0
          • J
            jimbrown.net @teastain2 last edited by jimbrown.net

            @teastain2 Thank you, I included that one only and get this error: Compilation error: 'DynamicJsonDocument' was not declared in this scope

            //#include <ArduinoJson.h>        // https://github.com/bblanchon/ArduinoJson
            #include <Arduino_JSON.h>       // In-built
            

            screenshot4.jpg

            Thoughts? I just used this github project: https://github.com/Xinyuan-LilyGO/LilyGo-EPD-4-7-OWM-Weather-Display from LilyGo

            teastain2 1 Reply Last reply Reply Quote 0
            • teastain2
              teastain2 @jimbrown.net last edited by

              @jimbrown-net You are going to have to use his library, sadly:

              #include <ArduinoJson.h>  // https://github.com/bblanchon/ArduinoJson
              

              You can put it back in the sketch but #include it in "" rather than <>.

              #include "ArduinoJson.h"  // https://github.com/bblanchon/ArduinoJson
              

              and put the library in the sketch folder.
              The "" make it use the most local library, not the generic global one.
              Fun. eh?

              J 2 Replies Last reply Reply Quote 0
              • J
                jimbrown.net @teastain2 last edited by

                @teastain2 what about the following error: https://arduinojson.org/v7/unsupported-as/

                screenshot3.jpg

                1 Reply Last reply Reply Quote 0
                • J
                  jimbrown.net @teastain2 last edited by

                  @teastain2 Changed to #include "ArduinoJson.h" // https://github.com/bblanchon/ArduinoJson

                  Still get the same error

                  convertFromJson(src, result); // Error here? See https://arduinojson.org/v7/unsupported-as/

                  screenshot.jpg

                  Please Advise

                  teastain2 1 Reply Last reply Reply Quote 0
                  • teastain2
                    teastain2 @jimbrown.net last edited by

                    @jimbrown-net I do not have a E-Paper, but I could try to compile it?
                    Stay tuned

                    teastain2 1 Reply Last reply Reply Quote 0
                    • teastain2
                      teastain2 @teastain2 last edited by

                      @teastain2 Well, as you may know the weather sketch is no longer supported.
                      I ran into the same issues with ArduinoJson as you did!
                      The LilyGO GitHub site 'button' demo compiled without difficulty.
                      You should ask them why they show the great weather app on their website, but it is remove b/c copyright?
                      You can raise am #Issue here:
                      https://github.com/Xinyuan-LilyGO/LilyGo-EPD47/issues
                      lots of other people complained.
                      Try scanning the issues for a solution and request help from lewisxhe.
                      sorry I could not help!
                      -Terry

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jimbrown.net @teastain2 last edited by

                        @teastain2 So I was able to compile. fix was to use https://github.com/bblanchon/ArduinoJson/tree/6.x Version: 6.17.3 screenshot.jpg

                        teastain2 1 Reply Last reply Reply Quote 1
                        • teastain2
                          teastain2 @jimbrown.net last edited by

                          @jimbrown-net Niiice!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Powered by NodeBB | Contributors