new to esp32 and platform.io, need help with running an example.

ulaoulao
Posts: 21
Joined: Thu Jun 13, 2024 6:25 pm

new to esp32 and platform.io, need help with running an example.

Postby ulaoulao » Thu Jun 13, 2024 6:34 pm

Hi all, I was able to make a simple LED flash work and I wanted to move to a more relevant example. I tried to use one of the examples from the large esp-inf project but it was to overwhelming. So in stead I follow a guide I saw where I use the platform.io to make the project.

I used the home-> new project and set up my board using Espidf. Compiles ok!
I then used the libraries and selected ESP32-USB-Soft-Host ( this is an arduiino protect.) and told it to download to my existing project.

I see the main is now updated with code but it is complaining it can not find the H file. Well duh! its not there? IS this not the way to use this? Is this specific to platform.io?

The project also says "This sketch will only run on ESP32-S2 or S3" but that is what I have. I think maybe it was not defined right.

Can anyone help me set up my esp32 usb-host project? I do not mind what project example I use, I just want one to work.

Who is online

Users browsing this forum: Google [Bot] and 125 guests