Comments (12)
I ran into the same problem. Your fix resolved it, thanks!
from gpio_viewer.
what is the board you are using ?
from gpio_viewer.
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.
Are you using the Arduino IDE version 2 ?
from gpio_viewer.
Yes. 2.2.1 on a MAC M1.
from gpio_viewer.
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.
Happy new Year too! Last thing I want you to try : compile the example that comes with the library
from gpio_viewer.
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.
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.
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.
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.
Excellent, glad it work now!
from gpio_viewer.
Related Issues (20)
- Add support for ESP32 C3 Super Mini HOT 1
- Request for an ESP32-devkitC board HOT 3
- Compile error HOT 2
- Error when connecting to WiFi - ESP32-WROOM-32 resets constantly. HOT 11
- No web content for ESP-WROVER-IE HOT 6
- Not showing IP address HOT 4
- error: 'analogGetChannel' was not declared HOT 4
- Nothing is shown in serial monitor HOT 2
- Please add ESP32-C6-Zero Module from https://www.waveshare.com/wiki/ESP32-C6-Zero HOT 2
- Please add nanoESP32-C6 HOT 2
- New Board: ESP32-S3-DevKitM-1-N8 HOT 1
- add esp32 devkit 36 pins HOT 6
- Please add board nodemcu32s HOT 2
- Could you please add the Espduino R32 to the libary? HOT 1
- ESP32 board request: KeeYees ESP32 Mini (Chip ESP-WROOM-32) HOT 1
- Add Support for Heltec WiFi Kit 32(v3) HOT 28
- XIAO_ESP32C3 HOT 15
- Add Feature: Detected I2C Addresses HOT 1
- library dependency not installed w/base (gpio_viewere) library HOT 13
- Conflict with OneWire? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpio_viewer.