Search found 90 matches

by tele_player
Mon Apr 09, 2018 5:26 pm
Forum: ESP32 Arduino
Topic: which to prefer: int8, int16, int32 ?
Replies: 6
Views: 378

Re: which to prefer: int8, int16, int32 ?

Keep in mind, the steps Kolban mentioned above might be done in CPU microcode. Same effect - some types of access are slower than others.
by tele_player
Thu Mar 22, 2018 12:36 am
Forum: ESP32 Arduino
Topic: ESP32 I2C power/distance problem?
Replies: 33
Views: 1691

Re: ESP32 I2C power/distance problem?

The word you are looking for is ‘twisted’.

Modern Ethernet cables use twisted pairs, with differential signaling, to achieve high rates.

Ordinary I2C doesn’t use differential signaling. For long runs, differential transceivers are available for I2C.
by tele_player
Tue Mar 20, 2018 4:29 am
Forum: ESP32 Arduino
Topic: Interrupt triggering
Replies: 5
Views: 367

Re: Interrupt triggering

Depending on how you’ve wired the button and encoder, you may need pull-ups or pull-downs, either internal or external.
by tele_player
Thu Mar 15, 2018 12:05 am
Forum: ESP32 Arduino
Topic: esp32 ulp programming
Replies: 13
Views: 1601

Re: esp32 ulp programming

If you’re on a linux or other Unix-like system, you can write a shell script to wrap bin/esp32ulp-elf-nm and handle the redirection into a file.
by tele_player
Fri Mar 09, 2018 3:24 pm
Forum: ESP32 Arduino
Topic: esp32 ulp programming
Replies: 13
Views: 1601

Re: esp32 ulp programming

That sounds correct.

Another possibility- develop and debug your ULP code using IDF, then convert the result into hex text, and embed it in your Arduino code.
by tele_player
Sun Mar 04, 2018 4:47 pm
Forum: ESP32 Arduino
Topic: ESP32 slower than ESP8266
Replies: 7
Views: 827

Re: ESP32 slower than ESP8266

Interesting.
I ran that code on 8266 and esp32, and times were about the same on both. About 10000 to 11000ms.
by tele_player
Thu Mar 01, 2018 3:59 am
Forum: ESP32 Arduino
Topic: ESP32 slower than ESP8266
Replies: 7
Views: 827

Re: ESP32 slower than ESP8266

Reading one byte at a time is a bad idea on 8266, too. client.available() returns the number of bytes ready to be read.

Also, on 8266, WiFi connection seems fast, because by default, it automatically connects to the last AP used, before you call WiFi.begin(). I don’t know if ESP32 does that.
by tele_player
Sun Feb 25, 2018 2:27 am
Forum: ESP32 Arduino
Topic: Problem uploading file with WiFiClientSecure
Replies: 6
Views: 589

Re: Problem uploading file with WiFiClientSecure

Probably unrelated, but seems to me all access to the SD card should be between SD.begin() and SD.end().
by tele_player
Fri Feb 23, 2018 5:38 am
Forum: General Discussion
Topic: loading AWS certs from SPIFFS
Replies: 17
Views: 1171

Re: loading AWS certs from SPIFFS

fgets() returns char*, not int.

Go to advanced search