GLCD Library for PBP


Results 1 to 23 of 23

Threaded View

  1. #17
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    They were looking at carrying it so I did a demo for them. Here is a view of the back of the unit.



    and some sample code (for Stamp - should be similar for PBP):
    Code:
    SEROUT 1, 396, [85]			' Auto Connect to display at 9600 Baud
    					' Can be up to 256,000 Baud
    
    SEROUT 1, 396, [186]		' Clears the screen
    
    SEROUT 1, 396, [188,10,20]		' Position cursor at x10, y20 for text display
    	
    SEROUT 1, 396, ["Hello World",0]	' Print "Hello World", 0 terminates string
    
    SEROUT 1, 396, [255,3,63,31,25,255]	' Draw a circle at x63, y31
    						' Radius of circle is 25 pixels
    						' 255 at beginning and end signifies graphics
    						' "3" is for circle
    
    SEROUT 1, 396, [255,2,20,10,100,50,255]	' Draw a rectangle from x20,y10 to x100,y50
    						' "2" is for rectangle
    
    SEROUT 1, 396, [255,4,30,0,30,60,255]	' Draw a vertical line from x30,y0 to x30,y60
    						' "4" is for line
    
    SEROUT 1, 396, [170,185]		' Set brightness level to 185 (from 0-255)
    					' "170" is command to set backlight brightness
    					' Value stored in EEPROM
    Attached Images Attached Images  

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. PBP Glcd
    By RICHARD.C in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 13th June 2008, 02:21
  3. GLCD and TouchScreen trouble
    By SteveB in forum Off Topic
    Replies: 17
    Last Post: - 13th June 2007, 14:11
  4. GLCD and its resolutions.
    By mesamune80 in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 10th January 2007, 14:14
  5. How to put valiable to GLCD
    By pramarn in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 13th October 2006, 16:18

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