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,696


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    are you using the font that has lowercase chars in it ?

    the first font has chr 32 to 90 post#54
    the second has chr 32 to 127 post#67

  2. #2
    Join Date
    Oct 2013
    Posts
    41


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    Yes,wrong include I use,now it is work.

    I create a counter,and when I touch the button counter increase e his value for 1.Each press increase counter for 1.

    COUNTER=COUNTER+1
    Is it possible to make that when i press a button and hold pressed the counter increase his value throughout the whole period when it pressed

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,696


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    Is it possible to make that when i press a button and hold pressed the counter increase his value throughout the whole period when it pressed
    yes good idea , I have added an auto repeat property to buttons

    Code:
      button_rpt.0[3]=1             ;button3 auto rpt
    Attached Files Attached Files

  4. #4
    Join Date
    Jan 2011
    Location
    Sydney, Australia
    Posts
    172


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    Hi Richard,

    I am having some issues compiling your TFT_Demo program and hope you can steer me in the right direction.
    I am using Microcode Studio 5.0.0 5 and PBPX 3.0.7.4

    When I first compile I get a "Syntax Error (195)". The line of code is "fillcircle 60 , 60 , 20"
    I have looked through the include files and cannot find a USERCOMMAND for "fillcircle". What am I missing?

    Attempting to move on, I commented out the offending fillcircle line of code and tried to compile again.
    Now I get four ASM ERROR message "Address label duplication or different in second pass".
    (Z001D9) (Z001DA) (Z001DB) (Z001DC)

    I am very keen to get my new TFT Touchscreen operational so any advice on how to correct the above issues would be greatly appreciated.

    I have attached all relevant files (main program, includes etc.) for your reference.

    Cheers
    Barry
    VK2XBP
    Attached Files Attached Files

  5. #5
    Join Date
    May 2013
    Location
    australia
    Posts
    2,696


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    hi barry


    the address dup messages come from having coff file generation turned on when using dt_ints , don't know why ,wish it wouldn't
    see the attached screen shot to remedy that

    the syntax error i think comes from not using the latest tft-spi.pbpmod file

    I have uploaded the latest just incase I stuffed up
    Attached Images Attached Images  
    Attached Files Attached Files

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,696


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    I did stuff up , seems I forgot to upload the latest version with fillcircle command in it .
    apologies to all,

  7. #7
    Join Date
    Jan 2011
    Location
    Sydney, Australia
    Posts
    172


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    Thanks Richard - that did the trick!
    Everything compiles and programs.
    Now to breadboard it and make it work

    Cheers
    Barry
    VK2XBP

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