Skip to content

Commit de108c6

Browse files
committed
+ update 0.1.04
+ added URL + restricted addresses to meaningfull ones (+ comments) + removed some trailing spaces
1 parent e198556 commit de108c6

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

sketches/MultiSpeedI2CScanner/MultiSpeedI2CScanner.ino

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
//
22
// FILE: MultiSpeedI2CScanner.ino
33
// AUTHOR: Rob Tillaart
4-
// VERSION: 0.1.03
4+
// VERSION: 0.1.04
55
// PURPOSE: I2C scanner @different speeds
66
// DATE: 2013-11-05
7-
// URL:
7+
// URL: http://forum.arduino.cc/index.php?topic=197360
88
//
99
// Released to the public domain
1010
//
@@ -148,7 +148,18 @@ void I2Cscan()
148148
}
149149

150150
// 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++)
152163
{
153164
bool printLine = printAll;
154165
bool found[speeds];

0 commit comments

Comments
 (0)