How to get ESP-32 Features coding?

shpalma
Posts: 1
Joined: Thu Nov 24, 2022 2:29 am

How to get ESP-32 Features coding?

Postby shpalma » Thu Nov 24, 2022 2:53 am

I'm pretty new to the ESP32 board.
So, I'm using Arduino IDE with ESP to get Temperature and humidity with a DHT11 sensor (it is not the best, I know), compiling with the verbose enabled (just for debugging), and notice that whenever upload the sketch, I see some really good information that I'd love to use to print it (because it's real data):
- Chip model
code: ESP.getChipModel()
- ESP Features (example: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None)
code: ???
Would be great if anybody can help me out with this doubt!

ESP_Minatel
Posts: 364
Joined: Mon Jan 04, 2021 2:06 pm

Re: How to get ESP-32 Features coding?

Postby ESP_Minatel » Thu Nov 24, 2022 1:45 pm

Hi,

Take a look here.

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: How to get ESP-32 Features coding?

Postby chegewara » Fri Nov 25, 2022 12:31 pm

https://github.com/espressif/esp-idf/bl ... .c#L19-L40
yes, you can copy/paste it to arduino code.

Who is online

Users browsing this forum: No registered users and 69 guests