• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Build an ESP32 Web Server several iusses

Q&A Forum › Category: ESP32 › Build an ESP32 Web Server several iusses
0 Vote Up Vote Down
Mario Enrico asked 2 years ago
hello Sara, Rui and everyone, 
I ask about some iusses that I can't solve:
1)
in module 3, at paragraph 2.1 of the course I don't understand some errors,
I copy the HTML file on page 201 but the lamp does not appear on the screen,
I compare html file with that one downloaded at the end of the Module3 and I notice the
difference in this rows below: "all.css" integrity = "sha384- fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr "crossorigin =" an onymous ">" what is it about? even if I delete it, and I do a new check of the files with Winmerge and they are the same but I don't have the result, while if I use the downloaded file everything works. Why only the first file does't work , it's exactly like that I downloaded. 2) An error reporting in main.c ++ is the path to the libraries, if I address them: #include "C: \ Users \ Documents \ PlatformIO \ Projects \ ESP Async WebServer \ src \ ESPAsyncWebServer.h", maybe I need to remove the lib_dept directive ? 3) another thing I did not understand well is "workspace". Do I keep all projects under same
workspace? can I make a new one and where to put the libraries? I have exposed several topics but I want to understand and solve and continue
the course that I really like.
Thanks to everybody
Mario


1 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 years ago

Hi Mario.

1) If you open your index.html file and take a look at line 8, you’ll see that it is the same line that you are referring to. However, because the line is long, we need to break it to include it in the eBook.
That line is needed to use the fontawesome website icons. You can learn more here: https://fontawesome.com/

2) I’m sorry, but I didn’t understand this question. To include libraries, you just need to add their names to the platformio-ini file. Are you getting any error related with the libraries?

3) You can keep all your projects under the same workspace or use different workspaces. That’s up to you.
A workspace includes a list of the projects that should be loaded on the File Explorer when you open it. You can have different workspaces. For example, one workspace with files from Module 2, and another with files from Module 3.
When you open the first workspace, it will only load the projects from Module 2, and so on.
You can organize workspaces as you wish in a way that’s more convenient for you.

This discussion explains well what a workspace is: https://stackoverflow.com/questions/44629890/what-is-a-workspace-in-visual-studio-code#:~:text=A%20workspace%20is%20a%20virtual,%22multi%2Droot%22%20workspace.

I hope this is clear. Let me know if you need further help.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.