Search found 65 matches

by filipESP
Mon Nov 19, 2018 10:08 am
Forum: ESP-IDF
Topic: ULP Pulse Counting Example
Replies: 7
Views: 3043

Re: ULP Pulse Counting Example

In case with GPIO_NUM_0 is the same problem.
So, what I need to do is set internal pull on the GPIO_NUM_0 pin?
by filipESP
Mon Nov 19, 2018 9:15 am
Forum: ESP-IDF
Topic: ULP Pulse Counting Example
Replies: 7
Views: 3043

ULP Pulse Counting Example

Hi, I'm trying to use ULP for counting pulse from GPIO. Button on the pcb board is connect to GPIO34, so I changed variable gpio_num from GPIO_NUM_0 to GPIO_NUM_34 and I wake up the ESP with using timer in five seconds periods. I do nothing when the program is executing but I get the number of pulse...
by filipESP
Thu Nov 08, 2018 2:36 pm
Forum: ESP-IDF
Topic: Sending a request to https server.
Replies: 2
Views: 1839

Re: Sending a request to https server.

What is the way to set http path when the data is chunked?
by filipESP
Wed Nov 07, 2018 2:40 pm
Forum: ESP-IDF
Topic: Use fopen() function to read txt file.
Replies: 4
Views: 3269

Use fopen() function to read txt file.

Hi, I have simple function to read txt file and I call it in the app_main(), but the returned value from fopen() is NULL. File devices.txt is placed in main directory of project. void read(){ FILE *ptr_file; char buf[1000]; ptr_file = fopen("devices.txt","r"); if (!ptr_file) printf("%s","error"); el...
by filipESP
Tue Nov 06, 2018 2:11 pm
Forum: ESP-IDF
Topic: Sending a request to https server.
Replies: 2
Views: 1839

Sending a request to https server.

I an trying to download the content of a webpage and I get the response with 307 status code with "a href="/..." message. The response I got looks like this: HTTP/1.0 307 Temporary Redirect Content-Length: 123 Content-Type: text/html; charset=utf-8 Date: Tue, 06 Nov 2018 09:44:40 GMT Location: "<a h...

Go to advanced search