File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed
sketches/MultiSpeedI2CScanner Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change 1
1
//
2
2
// FILE: MultiSpeedI2CScanner.ino
3
3
// AUTHOR: Rob Tillaart
4
- // VERSION: 0.1.03
4
+ // VERSION: 0.1.04
5
5
// PURPOSE: I2C scanner @different speeds
6
6
// DATE: 2013-11-05
7
- // URL:
7
+ // URL: http://forum.arduino.cc/index.php?topic=197360
8
8
//
9
9
// Released to the public domain
10
10
//
@@ -148,7 +148,18 @@ void I2Cscan()
148
148
}
149
149
150
150
// TEST
151
- for (uint8_t address = 0 ; address < 128 ; address++)
151
+ // 0.1.04: tests only address range 8..120
152
+ // --------------------------------------------
153
+ // Address R/W Bit Description
154
+ // 0000 000 0 General call address
155
+ // 0000 000 1 START byte
156
+ // 0000 001 X CBUS address
157
+ // 0000 010 X reserved - different bus format
158
+ // 0000 011 X reserved - future purposes
159
+ // 0000 1XX X High Speed master code
160
+ // 1111 1XX X reserved - future purposes
161
+ // 1111 0XX X 10-bit slave addressing
162
+ for (uint8_t address = 8 ; address < 120 ; address++)
152
163
{
153
164
bool printLine = printAll;
154
165
bool found[speeds];
You can’t perform that action at this time.
0 commit comments