Skip to content

Commit

Permalink
Update comment to match code output (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan-contino authored Jan 19, 2024
1 parent 96f4abe commit 1ed4de5
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions i2c/bus_scan/bus_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,16 @@
// the I2C bus. Print out a table that looks like this:
//
// I2C Bus Scan
// 0 1 2 3 4 5 6 7 8 9 A B C D E F
// 0
// 1 @
// 2
// 3 @
// 4
// 5
// 6
// 7
//
// E.g. if slave addresses 0x12 and 0x34 were acknowledged.
// 0 1 2 3 4 5 6 7 8 9 A B C D E F
// 00 . . . . . . . . . . . . . . . .
// 10 . . @ . . . . . . . . . . . . .
// 20 . . . . . . . . . . . . . . . .
// 30 . . . . @ . . . . . . . . . . .
// 40 . . . . . . . . . . . . . . . .
// 50 . . . . . . . . . . . . . . . .
// 60 . . . . . . . . . . . . . . . .
// 70 . . . . . . . . . . . . . . . .
// E.g. if addresses 0x12 and 0x34 were acknowledged.

#include <stdio.h>
#include "pico/stdlib.h"
Expand Down

0 comments on commit 1ed4de5

Please sign in to comment.