A tft addin for pbp3


Closed Thread
Results 1 to 40 of 142

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,714


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    done a bit more

    have added tft_sleep tft_wake tft_on tft_off subs, added DRAWRRECT usercmd (draw round cornered rectangle).
    change way buttons are defined . can have rectangular buttons , a button colour scheme and the button "title" text is now stored in pgm memory
    attached is a demo for a pic18f2520 using sleep/ wake on touch interrupt , backlight modulation using a pnp trany bc557 (full 10 bit)

    can supply cct if req
    Attached Files Attached Files

  2. #2
    Join Date
    Oct 2013
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    Hello people
    if someone tried Richard's example with PIC18F2520 or PIC18f4520
    I tried his example with PIC18F4520 and unfortunately not working. I have just a white screen.
    If someone can send me a hex file or an example of code that works with the PIC18F4520 so that I know if my screen working properly or it is damaged.

    my connection from TFT to PIC
    tft_dc_bit con 8 ;ie bit 3 PORT B.3
    tft_cs_bit con 32 ;ie bit 5 PORTB.5
    tft_rst_bit con 16 ;ie bit 4 PORTB.4
    tft mosi PORTC.5
    tft sck PORTC.3



    when I change value of this variable the led intensity is change on port C.2 , so PIC is working
    cont=50 ;half brightness

Similar Threads

  1. Replies: 0
    Last Post: - 25th September 2013, 19:33
  2. code examples / libraries for ILI9320 2.8" TFT LCD Module
    By longpole001 in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 6th June 2013, 09:50
  3. I really need some help with PBP3
    By Ramius in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th February 2012, 17:05
  4. What's with PBP3?
    By BrianT in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 10th August 2011, 18:09
  5. Experience of driving TFT screens?
    By isaac in forum General
    Replies: 1
    Last Post: - 26th September 2008, 01:15

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts