Compare commits
1 commit
2ca8941899
...
67beda0dbd
| Author | SHA1 | Date | |
|---|---|---|---|
| 67beda0dbd |
1 changed files with 4 additions and 0 deletions
|
|
@ -36,6 +36,10 @@ void executeCommand(CommandLine cmdLine) {
|
|||
// WRITE command: Takes a hex address as argument, reads data from UART and writes it to the EEPROM.
|
||||
commandRead(cmdLine.arg);
|
||||
}
|
||||
else if (strcmp(cmdLine.command, "ERASE") == 0) {
|
||||
// ERASE command: Takes a hex address range as argument and writes 0x00 bytes to the specified range.
|
||||
commandRead(cmdLine.arg);
|
||||
}
|
||||
else if (strcmp(cmdLine.command, "TESTREAD") == 0) {
|
||||
// TESTREAD command: for testing purposes, reads a few bytes and returns them in a human readable format.
|
||||
commandTestRead();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue