At last, I've tried the Script from Adafruit ( https://learn.adafruit.com/raspberry-pi ... ouchscreen )
I've changed the lines 214 from "320,240" to "800,480" (Screensize) and the line 7 from "/dev/fb1" to "/dev/fb0"
As result, I get the Message:
Code: Select all
root@raspberry:~# python /home/pi/radio/radioplayer.py
Traceback (most recent call last):
File "/home/pi/radio/radioplayer.py", line 215, in <module>
screen = pygame.display.set_mode(size)
pygame.error: Unable to open mouse
root@raspberry:~#
Code: Select all
#set size of the screen
size = width, height = 800, 480
screen = pygame.display.set_mode(size)