You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -26,12 +26,13 @@ Enter the address, or the character 'P'.
26
26
__The Arduino wire library works with 7-bit I²C adresses.__
27
27
28
28
The Arduino Serial library can easily parse decimal values, not hex codes. Therefore the default T24C02A address 0xA0 is rendered thus:
29
+
29
30
1. Right-shift one bit to get 7-bit address: 0xA0 >> 1 → 0x50
30
31
2. Convert to decimal: 0x50 → 5×16 + 0 = 80
31
32
32
33
_If you have a T24C04A, T24C08A or T24C16A, you can change addresses later to write to other memory pages._
33
34
34
-
##Polling:
35
+
##Polling the I²C bus:
35
36
If you entered the character 'P', the Arduino will poll all 128 possible addresses on the I²C bus.
36
37
It wil show you the address the devices that answered, and their answers.
37
38
@@ -59,7 +60,6 @@ S is useful if you set the I2C address wrong, have multiple EEPROMs or have a T2
59
60
3. Enter the string to be written.
60
61
- Escape numerical ASCII representations of characters by prefixing them with an '@'.
61
62
-@64 is the @ character itself, in case you want to write an actual @.
62
-
63
63
4. The device will print each character submitted to the device.
64
64
5. The device will print a human readable error message for each unsuccessful write.
65
65
- The device will retransmit (including reprint of) the character up to NUM_TRIES times.
@@ -73,7 +73,7 @@ S is useful if you set the I2C address wrong, have multiple EEPROMs or have a T2
73
73
##Setting the I²C address:
74
74
The same procedure as detailed in the section "Getting Started", see above.
75
75
76
-
##Polling:
76
+
##Polling the I²C bus:
77
77
The same procedure as detailed in the section "Getting Started", see above.
78
78
79
79
_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._
0 commit comments