Author Topic: Raspberry Pi driver for 1.8" and 2.4" TFT models  (Read 71 times)

joaBaur

  • Newbie
  • *
  • Posts: 5
  • Karma: 1
    • View Profile
Raspberry Pi driver for 1.8" and 2.4" TFT models
« on: June 14, 2018, 01:55:15 AM »
So after the FPGA drivers I went for something easier, and connected the TFTs to the Raspberry Pi's GPIOs.

Repo for the NHD-1.8-128160EF TFTs:
https://github.com/joaBaur/RaspberryPi-NHD-1.8-TFT

Repo for the NHD-2.4-240320CF TFTs:
https://github.com/joaBaur/RaspberryPi-NHD-2.4-TFT

Both drivers are native C, they map the main display's internal framebuffer (/dev/fb0) to memory, read the pixels' RGB values and bit bang them to TFT via the GPIOs.

The frame rates are ok, about 20 fps on the 2.4" and 34 fps on the 1.8" display.

Ted_M

  • Administrator
  • Jr. Member
  • *****
  • Posts: 33
  • Karma: 2
    • View Profile
Re: Raspberry Pi driver for 1.8" and 2.4" TFT models
« Reply #1 on: June 14, 2018, 08:28:33 AM »
Thanks for posting the drivers for the Rasberry Pi!  They will be very useful for many users. 
We look forward to seeing more of your postings in the future.

Best Regards,

 

Using Linux i2cdetect with NHD‐C0220BiZ‐FSW‐FBW on Raspberry Pi

Started by russkBoard Character LCDs

Replies: 9
Views: 7754
Last post August 21, 2017, 02:11:20 PM
by Saurabh_B
MOVED: Interfacing Newheaven st7789s driver 3.5inch Lcd with iMx6Q SabreAutomotiveBoard

Started by Saurabh_BBoard Graphic LCDs

Replies: 0
Views: 1746
Last post February 13, 2017, 10:58:17 AM
by Saurabh_B
Interfacing Newheaven st7789s driver 3.5inch Lcd with iMx6Q SabreAutomotiveBoard

Started by nandishsgBoard Newhaven Engineering Projects

Replies: 0
Views: 2356
Last post January 13, 2017, 01:36:01 AM
by nandishsg
Interfacing Newheaven st7789s driver 3.5inch Lcd with iMx6Q SabreAutomotiveBoard

Started by nandishsgBoard TFTs

Replies: 0
Views: 1653
Last post January 14, 2017, 04:40:27 AM
by nandishsg
NHD-0420CW-Ax3 Driver (w/demo) written for Parallax P8X32A/Propeller MCU

Started by avsa242Board OLEDs

Replies: 1
Views: 746
Last post January 09, 2018, 04:48:45 PM
by Paul_B