A tft addin for pbp3


Closed Thread
Results 1 to 40 of 142

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    755


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    I newer see that syntax...
    I use pdf that came with PBP 3
    PICBASIC PRO™ Compiler
    REFERENCE MANUAL
    Revised March 6, 2013

    Bank should be stated after variable type.
    eg
    ticker VAR BYTE BANK0 SYSTEM 'Creates "ticker" as a BYTE in BANK0, with no Assembly prefix character
    wsave VAR BYTE $70 'Creates "wsave" at RAM address 0x70 (hex)

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,623


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    Richard,
    I'd be happy to help if I can. You're WAY ahead of me with the usercommand and assembly type stuff so I just sit back and admire your work.

    Unfortunately the forum (or my computer(s)) no longer allows me to download any attachments. Even when logged all it serves me is a file called attachment.php. Had that happen before, then it worked with another computer but not any more.

    /Henrik.

  3. #3
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    I have this problem too. But if I rename the file it opens normally.

    Ioannis

  4. #4
    Join Date
    May 2013
    Location
    australia
    Posts
    2,682


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    rui discovered a find and replace error I have made int the tft-st7735 file .
    here is the corrected version
    Attached Files Attached Files

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


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    still fiddling with things , changed external flash routines to expect a 32 byte header in the image file ( x y size and image name), moved all external flash routines to flash pbpmod file.
    have uploaded a python2.7 gui pgm to convert 565c image data and add the header , then transfer data to flash via eusart2 @38400 baud . the python code can also erase blocks/read blocks and convert files to bas format (with or without header). (note its set to use com27 edit file to suit your system) all the pic routines are in the flash pbpmod file. this demo has it all setup .

    have also made a touch screen addin , that is also included in this demo
    Attached Images Attached Images   
    Attached Files Attached Files

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


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    there are some slight changes in these files too
    Attached Files Attached Files

  7. #7
    Join Date
    May 2013
    Location
    australia
    Posts
    2,682


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    added a draw rectangle function and animated buttons for touch screen (with long and short press detection)
    Attached Files Attached Files

  8. #8
    Join Date
    May 2013
    Location
    australia
    Posts
    2,682


    Did you find this post helpful? Yes | No

    Default Re: A tft addin for pbp3

    Quote Originally Posted by pedja089 View Post
    I newer see that syntax...
    I use pdf that came with PBP 3
    PICBASIC PRO™ Compiler
    REFERENCE MANUAL
    Revised March 6, 2013

    Bank should be stated after variable type.
    eg
    ticker VAR BYTE BANK0 SYSTEM 'Creates "ticker" as a BYTE in BANK0, with no Assembly prefix character
    wsave VAR BYTE $70 'Creates "wsave" at RAM address 0x70 (hex)
    the forum messes with the white space so the layout of my post was a bit off looking, but look at your reference manual pdf section 7.3 ram allocation page 265 ,thats what I'm referring to.

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