-
Notifications
You must be signed in to change notification settings - Fork 0
SetupMode
This walk through complimenents the comments in the code. Reading through the comments and understanding the various functions will aid understanding the code. Also, some shared functionality is described in the operation mode.
Formatted data from the macro excel sheets EEPROM format
The setupmode program sole purpose is to load the data from the SD card to the arudino EEPROM. This is also the only way to reset syrigne iteration counter so that it will start actuating from the beginning. The setupmode should only be run while conneted to a computer because after the setupmode is completed, the operation mode should be loaded to start the execution of the program. Note: Some of the function are identical and later work can be done to build a library with shared functions to help with resuability.
This function loads all the values from the SD config file to the EEPROM. The old method was to iterate through each method but now since the addresses are defined at the top, the for loop could be removed.
Unlike the operation mode, there is no need to sleep or disable the RTC.