File tree Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Expand file tree Collapse file tree 1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change 8
8
// the I2C bus. Print out a table that looks like this:
9
9
//
10
10
// I2C Bus Scan
11
- // 0 1 2 3 4 5 6 7 8 9 A B C D E F
12
- // 0
13
- // 1 @
14
- // 2
15
- // 3 @
16
- // 4
17
- // 5
18
- // 6
19
- // 7
20
- //
21
- // E.g. if slave addresses 0x12 and 0x34 were acknowledged.
11
+ // 0 1 2 3 4 5 6 7 8 9 A B C D E F
12
+ // 00 . . . . . . . . . . . . . . . .
13
+ // 10 . . @ . . . . . . . . . . . . .
14
+ // 20 . . . . . . . . . . . . . . . .
15
+ // 30 . . . . @ . . . . . . . . . . .
16
+ // 40 . . . . . . . . . . . . . . . .
17
+ // 50 . . . . . . . . . . . . . . . .
18
+ // 60 . . . . . . . . . . . . . . . .
19
+ // 70 . . . . . . . . . . . . . . . .
20
+ // E.g. if addresses 0x12 and 0x34 were acknowledged.
22
21
23
22
#include <stdio.h>
24
23
#include "pico/stdlib.h"
You can’t perform that action at this time.
0 commit comments