pygame displaying on /dev/fb0

Cool.

I am unable to get your pygame or other fb examples to work but I can get the ‘usr’ examples to work.

Perhaps this is for another post, but in your examples, are you using SPI0 or SPI1? It seems some of the setup for the examples are set for SPI0 and some are set for SPI1 yet the wiring listing in “EBC Exercise 12a 2.4 TFT LCD display via SPI” seems to indicate SPI0.

Cheers,

Jon

I was able to resolve the issue I was having with your fb and pygame examples. I had to ensure the BUS was set to ‘0’ and the pin GPIO values were set properly in ‘on.sh’. The same was true in reset.sh with ‘busnum=0’

Also, it seemed that if I ran the examples in ‘usr’, I had to reboot the board for the ‘fb’ examples to work.

It’s all working now.
Nice job.

Jon

Jon:
Thanks…

I’m thinking of getting rid of reset.sh since on.sh effectively does a reset when you rerun it.

–Mark