Author Topic: Is it possible to save HashMap to EEPROM?  (Read 1703 times)

0 Members and 1 Guest are viewing this topic.

fsamir

Is it possible to save HashMap to EEPROM?
« on: April 17, 2013, 06:19:19 PM »
Hi everyone,

I have a  HashMap (author Alexander Brevig) object in a struct, that I am saving to EEPROM (arduino). However, the values get all messed up when I load the struct from EEPROM.

Would you have any clues on how to save that to a persistent memory such as EEPROM?

Cheers,
Franklin Dattein

brevig

Re: Is it possible to save HashMap to EEPROM?
« Reply #1 on: April 25, 2013, 04:01:29 AM »
Hi there, could you post your code?

You're going to need to write your own saveHashMap and loadHashMap functions, but I can help you with that.
Post the code here and use the [ # ] symbol so it prints the code formatted:

Code: [Select]
this.codeIs(pretty);