Gastly, the screen is not 'detected' - there is no feedback FROM the display to the Pi, only a serial stream TO the display, plus control lines,
so you can run the code without a display even connected, and it should still run without any errors.
I suspect the problem lies in a dependency, ie something is not installed or configured with your Pi.
Prior to running the code have you installed spidev, etc with
Code: Select all
sudo apt-get install python-imaging python-imaging-tk sudo apt-get install python-pip sudo pip install wiringpi sudo pip install spidev
http://www.raspberrypi.org/phpBB3/viewt ... 00#p261609