@@ -29,6 +29,8 @@ The Arduino Serial library can easily parse decimal values, not hex codes. There
29291 . Right-shift one bit to get 7-bit address: 0xA0 >> 1 → 0x50
30302 . 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:
3335If 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:
47491 . 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
55571 . Follow the instruction:
56582 . Enter the start address for the write.
57593 . 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