Skip to content

Commit dccfcc1

Browse files
committed
formatting error
1 parent 9b9afff commit dccfcc1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CircuitPython_Essentials/CircuitPython_I2C_Scan.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515

1616
try:
1717

18-
while True:
19-
print("I2C addresses found:", [hex(device_address)
20-
for device_address in i2c.scan()])
21-
time.sleep(2)
18+
while True:
19+
print("I2C addresses found:", [hex(device_address)
20+
for device_address in i2c.scan()])
21+
time.sleep(2)
2222

2323
finally: # unlock the i2c bus when ctrl-c'ing out of the loop
2424
i2c.unlock()

0 commit comments

Comments
 (0)