Search found 6 matches

by uberthoth
Mon Jul 08, 2019 3:59 pm
Forum: Showcase
Topic: HC-SR04 using RMT - very fast
Replies: 16
Views: 35974

Re: HC-SR04 using RMT - very fast

mikronauts wrote: The time taken to perform that calculation is less than 1/1000 the time to get the distance from the hcsr04.

Insignificant.
Which calculation are you talking about?
by uberthoth
Mon Jul 01, 2019 2:01 am
Forum: ESP-IDF
Topic: HTTPS_BASIC_AUTH
Replies: 0
Views: 2851

HTTPS_BASIC_AUTH

When attempting to use basic auth in combination with https: void https_basic_auth_task(void *pvParameter) { static const char *TASK_TAG = "POST_TASK"; // HTTP Config esp_http_client_config_t config = { .url = "https://protected.example.com/protect", .event_handler = _http_event_handler, .username =...
by uberthoth
Tue Jun 25, 2019 3:09 pm
Forum: Showcase
Topic: HC-SR04 using RMT - very fast
Replies: 16
Views: 35974

Re: HC-SR04 using RMT - very fast

I got this working by adding the if clause on item: #include <stdio.h> #include <string.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/queue.h" #include "freertos/semphr.h" #include "esp_err.h" #include "esp_log.h" #include "driver/rmt.h" #include "driver/periph_ctrl...
by uberthoth
Sat Jun 22, 2019 4:14 pm
Forum: Showcase
Topic: HC-SR04 using RMT - very fast
Replies: 16
Views: 35974

Re: HC-SR04 using RMT - very fast

I tried making the suggested change, which didn't seem to work, so I also changed `rmt_tx` as well. And I also tried changing the double to a float (as I hear there are issues with double math on the esp32), and changed out the 1000 * 1000 * 2 [which I know should taken care of by the compiler but i...
by uberthoth
Thu Jun 20, 2019 3:01 am
Forum: Showcase
Topic: HC-SR04 using RMT - very fast
Replies: 16
Views: 35974

Re: HC-SR04 using RMT - very fast

Has anyone tried this code lately? All I get is this Guru meditation about core panic: I (114) cpu_start: App cpu up. [10/13182] I (132) heap_init: Initializing. RAM available for dynamic allocation: I (139) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (145) heap_init: At 3FFB2F80 len 0002D08...
by uberthoth
Tue Jun 11, 2019 8:54 pm
Forum: ESP-IDF
Topic: HTTPS OTA with Basic Authorization
Replies: 12
Views: 17659

Re: HTTPS OTA with Basic Authorization

From here https://docs.espressif.com/projects/esp-idf/en/latest/security/flash-encryption.html#ota-updates OTA updates to encrypted partitions will automatically write encrypted, as long as the esp_partition_write function is used. Which sounds to me like the binary is downloaded unencrypted and the...