-
Notifications
You must be signed in to change notification settings - Fork 2
M5Stack version Arduino side notes
Mike edited this page Nov 20, 2020
·
1 revision
On startup if the EEPROM is not marked as having valid cal and state data written to it, default cal data and current state data will be written to EEPROM
To Factory Reset the EEPROM
- Must be on SWR or Watts screen for buttons to be read for this procedure
- Press A button for 5 sec
- Press C button for 5 sec in sequence
- Press any other button now to abandon
- The EEPROM is marked for erase (byte 0 no longer ‘G’ for Good)
- Immediately power cycle the CPU. On startup the EEPROM will be rewritten with default cal and current data
- Pressing any buttons that save state or cal before the power cycle mark the EEPROM good again and not reset the EEPROM data since changes save state and remark the EEPROM byte 0
Press C button for over 10 seconds will toggle the serial port data output.
- Serial port data output is on by default.
- Switch is stored in Byte 4 of EEPROM so survives power cycles.
- Set to 115200 baud over the USB. Saves CPU and battery.
- Must be on SWR or Watts screen for button to be read for this
- Serial port is still active for commands and status and debug, just does not send out power data