writing an array of Stings to EPROM
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- efeigenbaum
- Posts: 98
- Joined: Fri Feb 24, 2017 3:23 pm
writing an array of Stings to EPROM
I know that you can write a string to EEPROM but is there a way to do this with multiple strings that are in an array? Is so, I need some help with the code. This is for a students project that I am trying to help with. Thanks..
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: writing an array of Stings to EPROM
Arduino or CircuitPython code?
- efeigenbaum
- Posts: 98
- Joined: Fri Feb 24, 2017 3:23 pm
Re: writing an array of Stings to EPROM
Arduino. I think I found a work-around, saving each string one at a time, but still would like to know if it possible to save an array of strings.
- mikeysklar
- Posts: 13936
- Joined: Mon Aug 01, 2016 8:10 pm
Re: writing an array of Stings to EPROM
What are you using hardware wise?
The general solution is not to use strings, but 2D arrays (subtle difference).
https://forum.arduino.cc/t/how-to-write ... m/691304/5
The general solution is not to use strings, but 2D arrays (subtle difference).
https://forum.arduino.cc/t/how-to-write ... m/691304/5
- efeigenbaum
- Posts: 98
- Joined: Fri Feb 24, 2017 3:23 pm
Re: writing an array of Stings to EPROM
I am using an Arduino UNO.
Please be positive and constructive with your questions and comments.