Giter Site home page Giter Site logo

Comments (12)

crittercam avatar crittercam commented on September 12, 2024 1

I ran into the same problem. Your fix resolved it, thanks!

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

what is the board you are using ?

from gpio_viewer.

en-x avatar en-x commented on September 12, 2024

I tried 2 versions of the ESP32-WROOM-32D board (HiLetgo and a DevkitC_v4) and also tried a XIAO ESP32-C3.
All boards give me the same message. I am going to try a different PC with a fresh install of Arduino IDE.
Same issues on 2nd PC... GPIO not declared in the readGPIO function.

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

Are you using the Arduino IDE version 2 ?

from gpio_viewer.

en-x avatar en-x commented on September 12, 2024

Yes. 2.2.1 on a MAC M1.

from gpio_viewer.

en-x avatar en-x commented on September 12, 2024

I did a fresh install of Arduino IDE 2.2.1 on a windows PC. I added your library .zip file and added the ESPAsyncWebServer library .zip from your link. Then I added the AsyncTCP library by dvarrel version 1.1.4 from the Arduino library manager and you instructed. This was a completely new install on a PC that never had Arduino IDE on it. and these are the only 3 libraries installed. The compile failed with the exact same error and I selected the board type that you used in your video tutorial.

Since others seem to have this working, I am assuming I am doing something wrong or missing something.

Anyway, I appreciate you creating this project. It looks like it would have been a useful tool.

Happy New Year.

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

Happy new Year too! Last thing I want you to try : compile the example that comes with the library

from gpio_viewer.

en-x avatar en-x commented on September 12, 2024

Yes, that's what I've been trying. I didn't even change the host or password. Just opened the example and compiled and got the error message. I must be missing a library.

Where is GPIO defined?

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

it's define in the core library of ESP32. There is no include to add, it's automatically include at compile time by Arduino based on the board you selected.

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

It is is in the header file gpio_struct.h which is in the core library of the ESP32.. The version of this library is 2.0.11. It is located here \AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.11\tools\sdk\esp32\include\soc\esp32\include\soc

from gpio_viewer.

en-x avatar en-x commented on September 12, 2024

Wow! Thank you so much. Issue has been resolved!!!

I followed the path on my system and found that I did not have that file in my ESP32 folder. For some unknown reason under board manager: esp32 by Espressif, I had 3.0.0-alpha3 installed and this does not include the gpio_struct.h file. I saw in your path, you are using version 2.0.11, so I went ahead and downgraded my version to 2.0.14 and tried to compile your example code and it worked perfectly.

I really appreciate your help resolving this issue. You've made my day.

Thank you and have a great new year.

from gpio_viewer.

thelastoutpostworkshop avatar thelastoutpostworkshop commented on September 12, 2024

Excellent, glad it work now!

from gpio_viewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.