Skip to content

Commit 699b663

Browse files
committed
Update preliminary example to correct indexes of slices
1 parent 720b29e commit 699b663

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

examples/24lc32_simpletest.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,5 @@
1212
eeprom[0] = 4
1313
print(eeprom[0])
1414

15-
# eeprom[0:3] = [9, 3, 8, 1]
16-
# print(eeprom[0:3])
17-
18-
while True:
19-
pass
15+
eeprom[0:4] = [9, 3, 8, 1]
16+
print(eeprom[0:4])

0 commit comments

Comments
 (0)