Skip to content

Commit 95e8e7f

Browse files
committed
Expanded readme with notes on advanced usage of commands.
1 parent 3f1a7fa commit 95e8e7f

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,19 @@ The same procedure as detailed in the section "Getting Started", see above.
7777
The same procedure as detailed in the section "Getting Started", see above.
7878

7979
_This polling is not done as part of a change of address. Therefore, the device will give information on the polled devices, and return to the menu immediately afterwards._
80+
81+
#Advanced command usage:
82+
Due to the way the Arduino Serial library works, you need not wait for the prompt to enter the next command. It reads command characters and numerical characters separately as well thus:
83+
84+
`R11 13` will read thirteen bytes starting at EEPROM address 11.
85+
86+
- Note the space between 11 and 13, otherwise the start address will be set to 1113.
87+
- Any non-numerical character should work between the numbers, it need not be a space.
88+
89+
`W25Hey!This is a test@64@` will write the string `Hey!This is a test@@` starting at EEPROM address 25.
90+
91+
- Note that the string is written directly after the start address.
92+
- This method will not work if you want your string to start with a numerical character.
93+
- The ending may be untuitive, but the first @ is treated as an escape character indication that the next character is the numerical 64 (an @ character). The next @ is the last character on the line. The system will check and see that the Serial buffer is empty, and conclude that it is not an escape character, since it is not followed by a number.
94+
- This only works at the end of the string! Any @ followed by a non-numerical character WILL mess up your write command.
95+

0 commit comments

Comments
 (0)