# EEPROM help needed Solved

**URL:** <https://community.particle.io/t/eeprom-help-needed-solved/37882>\
**Category:** Firmware\
**Created:** [December 6, 2017, 4:44am UTC](https://community.particle.io/t/eeprom-help-needed-solved/37882 "2017-12-06T04:44:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamesza](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@jamesza](https://community.particle.io/u/jamesza)\
**Post date:** [December 6, 2017, 4:44am UTC](https://community.particle.io/t/eeprom-help-needed-solved/37882/1 "2017-12-06T04:44:57Z")

</div>

Hi,

Need some help from the experts please.

I need to store a very long cell number between deep sleep intervals, but it seems  
i will have to use a string to do it but are unsure how to do it.  
for ex 279999999999999999 - actual length of number.

I tried a few options but the number is longer than any integer type i could find and  
could not find an example where a string is used to read and write to and EEPROM  
address.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![jamesza](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@jamesza](https://community.particle.io/u/jamesza)\
**Post date:** [December 6, 2017, 5:11am UTC](https://community.particle.io/t/eeprom-help-needed-solved/37882/2 "2017-12-06T05:11:15Z")

</div>

Hi,

Already answered in previous post,

use the EEPROM class1

for example: save it in a char array:

char cellNumber[32] = “27456985213”

EEPROM.put(0, cellNumber); // save it

EEPROM.get(0, cellNumber); // retrieve it
