GLCD Library for PBP


Closed Thread
Results 1 to 23 of 23
  1. #1
    Join Date
    Sep 2005
    Posts
    5

    Default GLCD Library for PBP

    Hi,
    any plans to add a glcd library to PicBasic Pro?

    Regards
    octal

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by octal View Post
    any plans to add a glcd library to PicBasic Pro?
    Probably belongs in the 'Wish List' section ya think?

    If you do a search here, you'll find more than one example for GLCD subroutines for PBP.

  3. #3
    Join Date
    Sep 2005
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    Hello,
    thank you for your answer. I have already seen all routines posted in the forum. But I'm talking on native functions implemented in PBP like Proton GLCD routines. or at least, to do like in Proton, to implement a Macro mechanisme by which users can implement their own external commands.

    Regards
    octal

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by octal View Post
    thank you for your answer. I have already seen all routines posted in the forum. But I'm talking on native functions implemented in PBP like Proton GLCD routines.
    How many types of GLCD do you want to support? Just the one you have or all the types out there?
    or at least, to do like in Proton, to implement a Macro mechanisme by which users can implement their own external commands.
    That's exactly how those GLCD routines work...macro's...

  5. #5
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Talking Innocence itself ...

    Hi, Ski

    I wonder the goal is here ...

    http://www.mikroe.com/forum/viewtopic.php?t=11282

    interessting reading.

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Acetronics View Post
    Hi, Ski
    I wonder the goal is here ...
    http://www.mikroe.com/forum/viewtopic.php?t=11282
    interessting reading.
    Alain
    A bit too ambitious I'm thinking...but that's just me...

  7. #7
    Join Date
    Sep 2005
    Posts
    5


    Did you find this post helpful? Yes | No

    Default

    Thank you for your answers.

    As a lot of users knows, I wrote a font generator for GLCD, that takes any font and convert it to usable source codes for a set of compilers. I just want to add support (export filter) to PicBasic Pro. That's all.
    Most users wants support for KS0108 and T6963c controllers. It's nice to have them supported directly by PicBasic Pro.
    Actually my Font Creator is becoming a full studio for the creation of Fonts and Bitmaps for GLCD with support for a lot of compilers (new version already implements native support for about 11 compilers and let you write your own export filter for any custom format needed). I just wanted to not miss support for one of the most fine and used compilers for PIC.


    Quote Originally Posted by Acetronics View Post
    Hi, Ski

    I wonder the goal is here ...

    http://www.mikroe.com/forum/viewtopic.php?t=11282

    interessting reading.

    Alain
    I would (better) say that the goal is here

    http://www.mikroe.com/forum/viewtopic.php?t=16919


    (PS. Sorry if this post links to external forums or sites)

    Best regards
    octal
    Last edited by octal; - 20th October 2008 at 20:21.
    http://www.pocketmt.com the GLCD Font Creator home site

  8. #8
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    GLCD are plain easy to work with if you want to spend some time on. There's plenty ressource in PBP, ASm and other languages. Maybe i should sale a GLCD pack myself?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  9. #9
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    GLCD are plain easy to work with if you want to spend some time on. There's plenty ressource in PBP, ASm and other languages. Maybe i should sale a GLCD pack myself?
    When are you taking orders?
    Dave
    Always wear safety glasses while programming.

  10. #10
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    As soon as I recover all encrypted data on my main machine... stupid me... short story.. i've made something to encrypt data on my hard drive and it require a USB dongle to unlock it.. which I lost when... you know the story... but... deuh ++idiot, source code for that freaking dongle/encryption method was on that machine

    I remember most part of it... but.. tehe.. not enough yet!

    Anyways, don't worry, there will be no need for ANY extra hardware or dedicated ICs/built-in solution. copy/paste, INCLUDE and that's it. At least yet, i have some other solution in mind... which would be FAR easier...
    Last edited by mister_e; - 27th October 2008 at 21:49.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  11. #11
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    As soon as I recover all encrypted data on my main machine... stupid me... short story.. i've made something to encrypt data on my hard drive and it require a USB dongle to unlock it.. which I lost when... you know the story... but... deuh ++idiot, source code for that freaking dongle/encryption method was on that machine

    I remember most part of it... but.. tehe.. not enough yet!
    That's almost funnny

    I once locked my car keys in the car so I would not lose them
    Dave
    Always wear safety glasses while programming.

  12. #12
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    I'm taking orders on mine.
    http://www.picbasic.co.uk/forum/showthread.php?t=9807
    Attached Images Attached Images  

  13. #13
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    IC Swordfish's based i guess

    Not cost effective to me
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  14. #14
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rmteo View Post
    Is that something by the Basic Stamp folks?
    Dave
    Always wear safety glasses while programming.

  15. #15
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    Is that something by the Basic Stamp folks?
    No, it is mine. I will also be doing a 192x64 and a 240x128 with similar features. Its a complete system requiring just a single port pin. It can be used with low pin count devices. The 128x64 GLCD is priced very competitively compared to other 4x20 serial character LCDs.
    Last edited by rmteo; - 27th October 2008 at 23:02.

  16. #16
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by rmteo View Post
    No, it is mine. I will also be doing a 192x64 and a 240x128 with similar features. Its a complete system requiring just a single port pin. It can be used with low pin count devices. The 128x64 GLCD is priced very competitively compared to other 4x20 serial character LCDs.
    That's cool!

    The Parallax thing on the screen shot had me wondering.
    Dave
    Always wear safety glasses while programming.

  17. #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  

  18. #18
    Join Date
    Oct 2008
    Location
    Ashland, KY
    Posts
    45


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    GLCD are plain easy to work with if you want to spend some time on. There's plenty ressource in PBP, ASm and other languages. Maybe i should sale a GLCD pack myself?
    Good idea-I'd pay for the necessary .inc files and whatever else is needed if this would support mikroElektronika's 128x64 GLCD. I'm pretty sure it's a KS0108 or compatable type controller...

    Would you be providing some sample source code or examples to paying customers?

    What PBP commands would be used to print both fonts (normal and custom) and bitmaps to the screen? "LCDOUT" for normal text, with librarys to "INCLUDE" for pre-drawn bitmaps or "SEROUT mode,(Xpos),(Ypos),(bit)" (or something similar) to add a new bitmap directly in the code? What about plans for touch screen features/examples?

    BTW-I hope you can recover your data without too many problems and headaches. Please keep us updated on this; I'm very interested!

    Sincerely,
    -Adam Collins

  19. #19
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Once i have it completed, recovered, i'll do an announcement somewhere here.

    This is something really easy to use, couples of macros, DEFINES and that's it. Still working on the recovery thingy though. Oh well, i'll probably redo the whole thing from scratch...

    Yes i also have touch-screen interfaces. Those GLCD are really neat, and quite cheap. I got mine from Circuit-Ed. Warren now have RGB backlight model as well... and OH, much neater, no longer need to mess with that tiny flat cable... have a look at the following..
    http://www.circuit-ed.com/128x64-Tou...ht-P168C8.aspx
    Last edited by mister_e; - 6th November 2008 at 16:52.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  20. #20
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Talking

    Hi, Steve

    I think I've already sent you something really close to the "Made in USA GLCD Controller" ... may be with the PC program "That goes well" ... running @ ...9600 bds too.

    Lol !

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  21. #21
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Maybe... who knows... anyways seems my last trauma removed many traces & "Souvenirs" in my virtual memory
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  22. #22
    Join Date
    Oct 2008
    Location
    Ashland, KY
    Posts
    45


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    Once i have it completed, recovered, i'll do an announcement somewhere here.

    This is something really easy to use, couples of macros, DEFINES and that's it. Still working on the recovery thingy though. Oh well, i'll probably redo the whole thing from scratch...

    Yes i also have touch-screen interfaces. Those GLCD are really neat, and quite cheap. I got mine from Circuit-Ed. Warren now have RGB backlight model as well... and OH, much neater, no longer need to mess with that tiny flat cable... have a look at the following..
    http://www.circuit-ed.com/128x64-Tou...ht-P168C8.aspx
    There's also some very useful information on touch screens there as well. Thanks for the link. I'll keep my eyes peeled for your pack...

    BTW-did you notice the EasyPIC5 in the video on that page? I thought that unit looked like the mE GLCD I got with my EasyPIC5 (with a different touch screen connector, of course), then I noticed the vid. They both must have the same supplier...
    -Adam Collins

  23. #23
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Both GLCD use the same controller, same touchscreen, same, same ,same, this one just have everything on the same edge connector + RGB backlight.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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 : 0

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