Clearing the Arduino entirely



  • Hi, I am just trying this system and I have
    Nano 1 SerialGateway sketch
    Nano 2 Humidity sketch with a DHT11
    Uno Humidity sketch with no DHT11 to simulate a sensor failure

    I think The system has assigned
    Nano-1 as Node-0
    Nano-2 as Node 97
    Uno as Node 1

    I assume this has been written into the EEPROM. As I go through learning ho to use these I'd like to assign my own Node-IDs so how do I clear all Nodes of their stored data?

    Thanks


  • Hardware Contributor

    There is a sketch in the MySensors library called clear eeprom - use this and upload to the Arduino you want to clear.



  • Thanks. Arrrggghghh. I had looked for something like that but was expecting to see EEPROM in all caps.

    "ClearEepromConfig" is not an obvious thing to spot. It may be fine when you know where to look.

    "EEPROMClear"
    or
    "EEPROMClearConfig" if one must have "config" in there.

    No?

    Things like that should start with their most important function first.
    They did that with the Gateways as in GatewaySerial, Gateway486, so consistency is out the window eh?

    With luck this may make it's way to the developers... 🙂


  • Contest Winner

    If you use at least a half decent search function and search the example tree for "eeprom" the example will show no matter the order of the keywords, so is a renaming really necessary?


Log in to reply
 

Suggested Topics

  • 4
  • 2
  • 15
  • 20
  • 2
  • 17

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts