Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 28, 2024, 02:10:59 14:10


Login with username, password and session length


Pages: [1]
Print
Author Topic: PIC C code for tft lcd ?  (Read 4645 times)
0 Members and 1 Guest are viewing this topic.
max
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 1595
-Receive: 52


« on: November 02, 2021, 07:51:51 07:51 »

Hi,

I want to interface the arduino uno tft lcd module 2.4" and 3.5" type
to pic uc, these modules use the parallel interface.
Is there any lib or c source available for pic?

Regards
Logged

Fate arrived and made the conscious unconscious It silenced the activity of life.
mars01
V.I.P
Hero Member
*****
Offline Offline

Posts: 535

Thank You
-Given: 692
-Receive: 1756



« Reply #1 on: November 02, 2021, 01:17:27 13:17 »

Hi,

I want to interface the arduino uno tft lcd module 2.4" and 3.5" type
to pic uc, these modules use the parallel interface.
Is there any lib or c source available for pic?

Regards


Should not be that hard to port an Arduino lib to the PIC uC. All you need is to make sure that you have enough pins and enough RAM to fit the framebuffer into it + whatever you need for the processing.
Logged
Old_but_Alive
Senior Member
****
Offline Offline

Posts: 328

Thank You
-Given: 699
-Receive: 118


« Reply #2 on: November 02, 2021, 01:54:49 13:54 »

try the CCS website, they have loads of code

http://www.ccsinfo.com/forum/viewforum.php?f=2

do search on tft

Also try the microchip forums.

best to search on the TFT controller number such as ILI9486, or  ST7783 or or  ILI9325 or SSD2119 etc


This link looks just what your after  http://www.ccsinfo.com/forum/viewtopic.php?t=50520&highlight=tft






« Last Edit: November 02, 2021, 03:19:47 15:19 by Old_but_Alive » Logged

I fought Ohm's Law ...  and the law won
I only use Mosfets because I have a Bipolar mental disorder :-)
max
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 1595
-Receive: 52


« Reply #3 on: November 02, 2021, 06:45:46 18:45 »

Hi mars01

I have no experiance in c++, arduino libraries uses the c++ code,
is there any guidelines for converting the c++ code to c code.

Regards
Logged

Fate arrived and made the conscious unconscious It silenced the activity of life.
Wilksey
Cracking Team
Senior Member
****
Online Online

Posts: 405

Thank You
-Given: 157
-Receive: 2542


« Reply #4 on: November 02, 2021, 07:56:17 19:56 »

Is it this TFT? https://create.arduino.cc/projecthub/electropeak/arduino-2-4-touch-screen-lcd-shield-tutorial-fe6f05 do you know what driver you particular TFT uses?
Logged
max
Senior Member
****
Offline Offline

Posts: 314

Thank You
-Given: 1595
-Receive: 52


« Reply #5 on: November 03, 2021, 08:46:38 08:46 »

Hi Wilksey

Yes this is the lcd I have.
In arduino software to use the 2.4" lcd the ID is 0x9325
for 3.5" lcd the ID is 0x9481
using mcufriends n adafruit graphics lib

Regards
Logged

Fate arrived and made the conscious unconscious It silenced the activity of life.
Old_but_Alive
Senior Member
****
Offline Offline

Posts: 328

Thank You
-Given: 699
-Receive: 118


« Reply #6 on: November 03, 2021, 10:04:04 10:04 »

it looks like it uses the ILI9325 or the ILI9481

try searching on them

I found this on the CCS site, there are 3 hits.

http://www.ccsinfo.com/forum/viewtopic.php?t=50520&highlight=ili9325

As I said in an earlier reply, the microchip forums will have discussions also
Logged

I fought Ohm's Law ...  and the law won
I only use Mosfets because I have a Bipolar mental disorder :-)
Wilksey
Cracking Team
Senior Member
****
Online Online

Posts: 405

Thank You
-Given: 157
-Receive: 2542


« Reply #7 on: November 03, 2021, 12:00:05 12:00 »

This Microchip forum post might be of some use: https://www.microchip.com/forums/m542888.aspx?tree=true
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC