-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't draw on LCD screen #463
Comments
Just tested also your photo-booth: The picture is taken and stored in the file but nothing appears on the LCD, not even the Smile! string. The only error message I get is this:
|
Duplicate of #455
Better "trick":
upgrade your packages
|
Should be fixed in v1.2.0
|
Also, you can now use grayscale 😄 #!/usr/bin/env python3
from time import sleep
import ev3dev.auto as ev3
screen = ev3.Screen()
smile = True
while True:
screen.clear()
screen.draw.ellipse((20, 20, 60, 60))
screen.draw.ellipse((30, 30, 50, 50), fill=128)
screen.draw.ellipse((118, 20, 158, 60))
screen.draw.ellipse((128, 30, 148, 50), fill=128)
if smile:
screen.draw.arc((20, 80, 158, 100), 0, 180)
else:
screen.draw.arc((20, 80, 158, 100), 180, 360)
smile = not smile
screen.update()
sleep(1) |
Also:
|
Yes, works with:
(At the first attempt of brickrun, the screen remained blank, but the second and subsequent attempts worked well.) Wonderful grayscale! |
Please open a new issue at https://github.com/ev3dev/ev3dev/issues if this continues to be a problem. |
I'm trying to draw the smiley-frowney demo mentioned in #194 on the LCD screen of my EV3.
The demo code I used is this:
I can run this from ssh using this trick:
The LCD goes blank, then quickly shows a tiny error message and I get Brickman again.
When I run the demo from Brickman, the error log is collected, so I can read the message:
(The simpler demo http://www.ev3dev.org/docs/tutorials/using-ev3-lcd/ behaves similarly, screen goes blank, debug prints get printed, no error is reported but nothing is drawn on screen.)
The text was updated successfully, but these errors were encountered: