Search found 90 matches

by tele_player
Thu Feb 22, 2018 4:27 am
Forum: ESP32 Arduino
Topic: Problems with communications using arduino IDE and ESP3
Replies: 4
Views: 6704

Re: Problems with communications using arduino IDE and ESP3

Does the IDE show errors when attempting to upload a new sketch?
Does your esp32 have two push buttons?
by tele_player
Thu Feb 22, 2018 12:10 am
Forum: ESP32 Arduino
Topic: trap ICMP ping
Replies: 4
Views: 8425

Re: trap ICMP ping

As noted above; #define ICMP_IRQ 15 is in the ..\espressif\esp32\tools\sdk\include\lwip\lwip\icmp.h [/i] but i can't seem to find any code that reacts to the ICMP_IRQ or even attach the IRQ. If I send a PING to the esp32 it responds so clearly the IRQ is processed somewhere. Is there any way to mon...
by tele_player
Sat Feb 17, 2018 5:29 pm
Forum: General Discussion
Topic: Random String generation
Replies: 3
Views: 7752

Re: Random String generation

Caution: the code listed above has a bug, it writes beyond the end of the array.
by tele_player
Fri Feb 16, 2018 4:24 pm
Forum: ESP32 Arduino
Topic: Negative Floating point overflow
Replies: 3
Views: 5977

Re: Negative Floating point overflow

I’d be curious to see the expression. Type conversion/promotion/coercion is handled in the compiler.
by tele_player
Thu Feb 15, 2018 11:09 pm
Forum: ESP32 Arduino
Topic: Saving and writing to eeprom
Replies: 25
Views: 58970

Re: Saving and writing to eeprom

Seriously??? Save example: #include <Arduino.h> #include <EEPROM.h> // I'm just guessing EEPROM SIZE here #define EEPROM_SIZE 1024 typedef struct foo { char a[16]; char b[16]; } FOO; FOO foo; void setup() { Serial.begin(115200); delay(1000); Serial.println(""); EEPROM.begin(EEPROM_SIZE); // put some...
by tele_player
Wed Feb 14, 2018 4:47 pm
Forum: ESP32 Arduino
Topic: WiFi - Static IP fails to connect wifi
Replies: 9
Views: 14961

Re: WiFi - Static IP fails to connect wifi

So, it appears to be a bug in SDK or Arduino core, introduced in newer code than I have installed.
by tele_player
Tue Feb 13, 2018 1:53 am
Forum: ESP32 Arduino
Topic: Saving and writing to eeprom
Replies: 25
Views: 58970

Re: Saving and writing to eeprom

I can’t tell what you are doing incorrectly from the partial code you include here.

What you should do is write a test program to learn how to save and restore using EEPROM. If you can’t make it work, provide the complete code here, maybe somebody will debug it.
by tele_player
Mon Feb 12, 2018 7:01 pm
Forum: ESP32 Arduino
Topic: arduino sizeof struct
Replies: 3
Views: 7707

Re: arduino sizeof struct

Unless you have good reason, and understand the implications, you should stay away from packed structs.
by tele_player
Mon Feb 12, 2018 4:11 pm
Forum: ESP32 Arduino
Topic: Saving and writing to eeprom
Replies: 25
Views: 58970

Re: Saving and writing to eeprom

Esp32 EEPROM is in flash. So is SPIFFS. SPIFFS moves writes around to level the wear, EEPROM library doesn’t.

SD has the same problem with wear, and the same solution: wear leveling. Same thing applies to SSD.
by tele_player
Mon Feb 12, 2018 7:31 am
Forum: ESP32 Arduino
Topic: WiFi - Static IP fails to connect wifi
Replies: 9
Views: 14961

Re: WiFi - Static IP fails to connect wifi

It’s been a while since I installed the esp32 Arduino core, I don’t know how to check the version.