Timeline for the use of the Arduino's EEPROM
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 30, 2020 at 15:54 | comment | added | Tom | I'm sorry, I do not understand what you want or do not understand. Maybe @Sim Son is closer to what you are looking for. In any case, if you do not see the point of writing in EEPROM, then you probably do not need it ;). Also, if you ran the sketch in your answer now, beware that the first EEPROM memory block is likely to be dead. | |
May 30, 2020 at 11:37 | comment | added | klay | I just want to apply the concept of it, you know when you store a value to it, and then use it similar to the smart house for example that works on particular orders, so the idea here is to only change it once to show the principle of EEPROM. even when I write it in the SETUP, the LED will not work as well. so consider writing this sketch inside the void setup, how can I still make it work for only once? | |
May 30, 2020 at 8:49 | comment | added | Tom |
@klay Furthermore, as said in answer, EEPROM do NOT like to be written often. Your EEPROM.write(0,4); in the loop will kill it in a very (very) short time
|
|
May 30, 2020 at 8:45 | comment | added | Tom | @klay just like before, your new example does not ANY advantage of EEPROM. Did you read my answer? Here your write and read eeprom in a row, which is a bit like: "I put a cheese in my fridge, what is in my fridge now? Oooh, a cheese!" | |
May 30, 2020 at 7:41 | comment | added | klay | thanks @Tom_C I've edited my post and added THE LED program and asked why the LED of the EEPROM is not ON, hope that you can give me feedback there as well | |
May 29, 2020 at 22:08 | history | edited | Tom | CC BY-SA 4.0 |
deleted 1 character in body
|
May 29, 2020 at 20:00 | history | edited | Tom | CC BY-SA 4.0 |
added 112 characters in body
|
May 29, 2020 at 19:52 | review | First posts | |||
May 30, 2020 at 13:22 | |||||
May 29, 2020 at 19:51 | history | answered | Tom | CC BY-SA 4.0 |