Search found 10 matches

by kurtwerbrouck
Mon May 01, 2023 8:52 am
Forum: ESP-IDF
Topic: #include <vector>
Replies: 3
Views: 4801

Re: #include <vector>

Hello

The file has a .c

Kurt
by kurtwerbrouck
Fri Apr 28, 2023 5:25 pm
Forum: ESP-IDF
Topic: #include <vector>
Replies: 3
Views: 4801

#include <vector>

hello

i want to use the #include <vector>,but i get a fatal error,

fatal error: vector: No such file or directory
11 | #include <vector>

i am using esp-idf,under visual code.

Any solutions?

Thanks
by kurtwerbrouck
Sat Mar 25, 2023 5:22 pm
Forum: ESP-IDF
Topic: Bitset header
Replies: 3
Views: 3514

Bitset header

Hello

I want to shift 80 bits into a esp32 - i saw some examples that are using the #include <bitset>.

#include <stdio.h>
#include <iostream>
#include <bitset>

void app_main(void)
{
std::bitset<80> b("01000000000000000000000000000000");
b >>= 12;
}

For some reason the #include <bitset> is ...
by kurtwerbrouck
Mon Nov 14, 2022 6:45 pm
Forum: ESP-IDF
Topic: Install FastLED under esp-idf visual code
Replies: 0
Views: 3394

Install FastLED under esp-idf visual code

Goodevening
I am try to use the fastled under esp-idf (visual code). I copied all the needed folder under the components folder.
I got when using #include "FastLED.h" the next error message -> Include file not found in Path.
Is there a way / or how can i add the subfolders for Fastled to the Path ...
by kurtwerbrouck
Thu Jun 09, 2022 6:24 pm
Forum: IDEs for ESP-IDF
Topic: Http request to an https site
Replies: 2
Views: 4716

Http request to an https site

Hello
In visual code i updated to frame work esp platform 4.4,
before this update i could do an http request to get the position of the ISS station.

void http_iss(void * pvParam)
{
esp_http_client_config_t config ;

config.url = ISS_SERVER.serverName;
config.transport_type = HTTP_TRANSPORT ...
by kurtwerbrouck
Mon Aug 02, 2021 1:36 pm
Forum: ESP-IDF
Topic: ESP32 - IDF - HTTP request
Replies: 4
Views: 5196

Re: ESP32 - IDF - HTTP request

hello mbratch

I assume you're looking at an ESP-IDF example for http client , Yes indeed

i used the wifi arduino in other programs, but i am converting them all to the idf API, with the help of the APi reference.
now i am trying to use the idf HTTP, I will try this evening with removing the wifi ...
by kurtwerbrouck
Mon Aug 02, 2021 9:15 am
Forum: ESP-IDF
Topic: ESP32 - IDF - HTTP request
Replies: 4
Views: 5196

ESP32 - IDF - HTTP request

Hello

I used the example in the doc for creating a HTTP request for openweathermap.
When i used the the http request in the setup() and in the loop(), all seems to be running OK
When i used only the http request in the loop() (delete the http request part in the setup), the esp32 keeps on rebooting ...
by kurtwerbrouck
Fri Jun 18, 2021 3:34 pm
Forum: ESP32 Arduino
Topic: esp32 - I2C
Replies: 1
Views: 3490

esp32 - I2C

hello

i am trying to run the next example from the i2c api datasheet @ docs.espressif.com - API I2C.

#include ""driver/i2c.h""

#define I2C_SCL_IO 22
#define I2C_SDA_IO 21
#define I2C_FREQ_HZ 100000
#define I2C_PORT_NUM I2C_NUM_0
#define I2C_TX_BUF_DISABLE 0
#define I2C_RX_BUF_DISABLE 0
#define ...
by kurtwerbrouck
Mon Feb 22, 2021 8:49 pm
Forum: ESP32 Arduino
Topic: random rebooting of esp32
Replies: 1
Views: 2764

Re: random rebooting of esp32

Hello

Seems that http. getStream() is the solution for receiving the json string.
by kurtwerbrouck
Wed Feb 17, 2021 6:42 pm
Forum: ESP32 Arduino
Topic: random rebooting of esp32
Replies: 1
Views: 2764

random rebooting of esp32

hello

when i use the wifi.h or wificlient.h in any of the sketch that i made for the esp32, it randomly reboots during the program.

Does somebody has any idea why?

error code:

19:40:27.731 -> Guru Meditation Error: Core 1 panic'ed (InstrFetchProhibited). Exception was unhandled.
19:40:27.731 ...

Go to advanced search