Hi, I want to save the ssid and the password of the network. There is a partition that I can use like the EEPROM of arduino? Or I have to use an external flash to save it?
Thanks in advance
EEPROM
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: EEPROM
Hi krzychb, thank you for your response. Is it compatible with arduino IDE?
- ESP_krzychb
- Posts: 400
- Joined: Sat Oct 01, 2016 9:05 am
- Contact:
Re: EEPROM
@PeWosT,
Sorry, I did not notice you have been posting in ESP32 Arduino forum.
In Arduino, NVS is implemented with Preferences library.
The library includes an example that shows how to save / read an integer counter.
As you like to save strings, then adopt this example using putString / getString methods (instead of putUInt / getUInt as in example).
Krzysztof
Sorry, I did not notice you have been posting in ESP32 Arduino forum.
In Arduino, NVS is implemented with Preferences library.
The library includes an example that shows how to save / read an integer counter.
As you like to save strings, then adopt this example using putString / getString methods (instead of putUInt / getUInt as in example).
Krzysztof
Re: EEPROM
Thank you again @krzychb, I am going to try
Who is online
Users browsing this forum: No registered users and 43 guests