Open kittenarmy opened 1 year ago
ascii16.py, line 15,“_file = open(sys.path[1]” to “_file = open(sys.path[2]”. Try
In fact, you need to modify two places
1:ascii16.py, line 15,“_file = open(sys.path[1]” to “_file = open(sys.path[2]”. Try
2: file.seek(ord(ch) * 86) to file.seek(ord(ch) * 85)
I am using Micropython rp2-pico-20220618-v1.19.1.uf2 on Raspberry Pi Pico. I installed ssd1306py to /lib in Thonny.
The example code:
gives an error in Thonny:
I tried the fixes suggested in this thread, changing
_file.seek(ord(ch) * 86)
to_file.seek(ord(ch) * 85)
but same errors as before.