You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while True:
if display.is_pressed(display.KEY0):
loc = display.text("Key0 pressed",0,0,0xffff):
if display.is_pressed(display.KEY1):
loc = display.text("Key1 pressed too",0,loc[1],0xffff):
display.show()`
I get this error:
`>>> %Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "", line 8
SyntaxError: invalid syntax
`
Is it due to the number of values to be transferred? Here there are four, in def text(self,s,x0,y0,col=0xffff,wrap=1,just=0): in PicoOled13.py I guess seven is expected?
Greetings Holger
The text was updated successfully, but these errors were encountered:
Hi,
tried this code:
`import PicoOled13
display=PicoOled13.get()
display.clear()
while True:
if display.is_pressed(display.KEY0):
loc = display.text("Key0 pressed",0,0,0xffff):
if display.is_pressed(display.KEY1):
loc = display.text("Key1 pressed too",0,loc[1],0xffff):
display.show()`
I get this error:
`>>> %Run -c $EDITOR_CONTENT
Traceback (most recent call last):
File "", line 8
SyntaxError: invalid syntax
Is it due to the number of values to be transferred? Here there are four, in def text(self,s,x0,y0,col=0xffff,wrap=1,just=0): in PicoOled13.py I guess seven is expected?
Greetings Holger
The text was updated successfully, but these errors were encountered: