Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changing to event // 10
Ohh yeah I like that, thanks! This example is more to show a good example for matrixes so I'd rather have the most pythonic way.
  • Loading branch information
BlitzCityDIY committed Sep 19, 2022
commit 17de6ebc3f1cead0730986af154e33c78ef73e28
2 changes: 1 addition & 1 deletion examples/tca8418_3x4_OLED.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
event = keyevent & 0x7F
event -= 1
# figure out row
row = int(event / 10)
row = event // 10
# figure out column
col = event % 10
# print event type first
Expand Down