chipKIT® Development Platform

Inspired by Arduino™

Storing values to EEprom? troubles

Created Sun, 12 Jan 2014 04:44:45 +0000 by Bartje64


Sun, 12 Jan 2014 04:44:45 +0000

Next hurdle, storing and reading values to the eeprom with the Arduino worked fine, with the Chipkit Uno32 i'm not having much luck.

I'm trying to store a value between 6,000,000 and 30,000,000 Upon boot-up I want to read the value from memory.

I found PROGMEM examples, but could not get it to work due to my lack of experience/knowledge.

The eeprom version worked on the Arduino Uno, but as written, not on the Chipkit. Reading up on the Chipkit, I found info that it does not have eeprom but flash memory (is this correct?). Perhaps that is why the Arduino eeprom version does not work.

Anyways I'm looking for some pointers. It should be simple (so it seems) but I cannot wrap my head around it.

As always, appreciate it....



Sun, 12 Jan 2014 16:52:32 +0000

Got it working after many tries...

//*********************************** Arduino ****************************************//   
    freq = String(;
     rx = freq.toInt();

    //**************************** Chipkit Uno32 ****************************************// 

    freq = (String(int(;
    rx = freq.toInt();
    //Serial.println (rx);