Hi friends,
Another LCD display driver is available, this time for a cheap 2.4" TFT Arduino shield:
All the gpanel demos work the same on this display, although with reduced resolution 320x240. The performance is about 3 times slower than Picadillo-35T:
Code:
# cd /share/examples/gpanel
# make speed
cc -o lucidasans15.o -c fonts/lucidasans15.c
cc -o speed speed.c lucidasans15.o -lgpanel
# ./speed
Screen size 240 x 320.
Graphics speed:
39682 pixels/second
509 lines/second
52 rectangles/second
291 circles/second
1540 characters/second
The sources are here:
https://github.com/RetroBSD/retrobsd/bl ... 2/st7781.cI use this shield with chipKIT WF32 board. Here is an example of the kernel configuration for ST7781 driver:
Code:
# ST7781 TFT display driver
device swtft
signal "LCD_RST" pin RB10
signal "LCD_CS" pin RB0
signal "LCD_RD" pin RB2
signal "LCD_RS" pin RB8
signal "LCD_WR" pin RB4
signal "LCD_D0" pin RA14
signal "LCD_D1" pin RD3
signal "LCD_D2" pin RE8
signal "LCD_D3" pin RD0
signal "LCD_D4" pin RF1
signal "LCD_D5" pin RD1
signal "LCD_D6" pin RD2
signal "LCD_D7" pin RE9
It should be possible to use it on Duinomite and Maximite as well, just modify the signal to pin mapping.
I got this board from Ebay a few months ago for $5. It took some effort for me to find out which controller this board is based upon, and it turned out to be Sitronics ST7781. It's rumored that new revisions of this board have another controller, like ILI9325. In this case it would not work with this driver.