Skip to content

Commit 2874ada

Browse files
committed
attempt five to fix the markdown of the readme.
1 parent f305525 commit 2874ada

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ The Arduino Serial library can easily parse decimal values, not hex codes. There
2929
1. Right-shift one bit to get 7-bit address: 0xA0 >> 1 → 0x50
3030
2. Convert to decimal: 0x50 → 5×16 + 0 = 80
3131

32+
_If you have a T24C04A, T24C08A or T24C16A, you can change addresses later to write to other memory pages._
33+
3234
##Polling:
3335
If you entered the character 'P', the Arduino will poll all 128 possible addresses on the I²C bus.
3436
It wil show you the address the devices that answered, and their answers.
@@ -42,7 +44,7 @@ You will be asked for a command char:
4244
W — Write
4345
S — Set I²C address
4446
P — Poll the I²C bus.
45-
_S is useful if you set the I2C address wrong, have multiple EEPROMs or have a T24C04A, T24C08A or T24C16A IC._
47+
S is useful if you set the I2C address wrong, have multiple EEPROMs or have a T24C04A, T24C08A or T24C16A IC.
4648
##Reading:
4749
1. Follow the instruction:
4850
- Enter the start address for the read.
@@ -55,15 +57,13 @@ _S is useful if you set the I2C address wrong, have multiple EEPROMs or have a T
5557
1. Follow the instruction:
5658
2. Enter the start address for the write.
5759
3. Enter the string to be written.
60+
- Escape numerical ASCII representations of characters by prefixing them with an '@'.
61+
- @64 is the @ character itself, in case you want to write an actual @.
5862

59-
_Escape numerical ASCII representations of characters by prefixing them with an '@'._
60-
_@64 is the @ character itself, in case you want to write an actual @._
61-
62-
- The device will print each character submitted to the device.
63-
- The device will print a human readable error message for each unsuccessful write.
64-
- The device will retransmit (including reprint of) the character up to NUM_TRIES times.
65-
66-
`NUM_TRIES` is set to 10 in the code by default.
63+
4. The device will print each character submitted to the device.
64+
5. The device will print a human readable error message for each unsuccessful write.
65+
- The device will retransmit (including reprint of) the character up to NUM_TRIES times.
66+
- `NUM_TRIES` is set to 10 in the code by default.
6767

6868
###After ten failed tries:
6969
- You get an error message indication.

0 commit comments

Comments
 (0)