graphics


Closed Thread
Results 1 to 11 of 11

Thread: graphics

  1. #1

    Wink graphics

    another item i would like to see added to pbp
    is built in graphics display control like the lcd
    do we already have this?

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


    Did you find this post helpful? Yes | No

    Default

    AS IS.. no. The main problem is always the same, there's no real standard LCD Graphic controller... but some model are more popular. You may find few example here and there in Basic, Asm, C etc etc etc

    The following have been refered few time here
    http://www.compsys1.com/workbench/
    Steve

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

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    AS IS.. no. The main problem is always the same, there's no real standard LCD Graphic controller... but some model are more popular. You may find few example here and there in Basic, Asm, C etc etc etc

    The following have been refered few time here
    http://www.compsys1.com/workbench/
    I've got some fairly decent code for the 122x32 (SED1520) type LCDs.
    It ain't the best, but it's always worked for me.

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


    Did you find this post helpful? Yes | No

    Default

    Well, at least once you have something working, it's just a code challenge to modify it or totally rewrite the whole thing.

    I agree it could be interesting for many user if Melabs would integrate 2-3 popular controller in PBP as some already do.
    Steve

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

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    Well, at least once you have something working, it's just a code challenge to modify it or totally rewrite the whole thing.

    I agree it could be interesting for many user if Melabs would integrate 2-3 popular controller in PBP as some already do.
    ->Well, at least once you have something working
    Are you doggin' me...again?

    I'm wondering if a GLCD add-on couldn't end up as some sort of library file add-on.
    A define at the top of the code (i.e. DEFINE GLCDTYPE = 1 or 2 or 3 or whatever), then a few commands for text, points, etc.etc. The code I've got for the SED1520 does all of the background work, sets points, clears points, and does text, along with some simple shifting...and I'm sure other folks have got fully working code for other controller types.

    Jist of the story, MeLabs had better get on with an upgrade of some sort and better do it soon; something to be a bit more competitive with the likes of mikroelectronika (or whatever they're called) and others. I like the product and all, but like everything else in life, if something out there is better, for a better price, I'm probably going to end up going that route (much as I hate to say it)....

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


    Did you find this post helpful? Yes | No

    Default

    Are you doggin' me...again?
    ME? Nah, no way!

    I'm wondering if a GLCD add-on couldn't end up as some sort of library file add-on.
    Yup perfect application for INCLUDE and conditional assembler IF/IFDEF/IFNDEF. but on the other hand, it make the INCLUDE file too big. I prefer to use ONE/Controller type... but it's me. Using PBP DEFINE in your code will may set the I/o assignment, tell to store Text fonts in the code space or in a external EEPROM, etc etc etc. There's tons of different structure you could use. As always...

    and I'm sure other folks have got fully working code for other controller types.
    possibly true And i feel they work on many hours/days/weeks to make them 100% bug free and easy-to use/expand. This said... i doubt they will trash them away for free... even if they are really often here and always willing to help. Maybe one day they could place them and sale them on their website...

    I like the product and all, but like everything else in life, if something out there is better, for a better price, I'm probably going to end up going that route (much as I hate to say it)....
    Depending what you call better, all good point. Let's say with more built-in feature ;-}

    What happen is that many new user now compare built-in feature, and sometimes they buy the one with all needed feature... but ends-up with daily/weekly update to do to fix some obvious stuff that shouldn't be messed up at first. too bad.
    Steve

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

  7. #7


    Did you find this post helpful? Yes | No

    Thumbs down simple

    see how complicated this gets trying to get a glcd command set in pbp
    others are doing this fine sure there must be some sort of standard graphic display that could be supported. some of us are more interested in building some nifty project than trying to learn high level programing thought thats what pbp was supposed to do really think it could use a update in simplicity

  8. #8
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by jcleaver View Post
    see how complicated this gets trying to get a glcd command set in pbp
    others are doing this fine sure there must be some sort of standard graphic display that could be supported. some of us are more interested in building some nifty project than trying to learn high level programing thought thats what pbp was supposed to do really think it could use a update in simplicity
    You're right, others do have GLCD commands built into them to use with standard graphic LCD's, as long as it's THEIR standard graphic LCD.
    Off the top of my head, there's about 4 totally different types of graphic LCDs that I've worked with, and of each of those 4 types, there's various different dialects amongst those. Much as I hate to say it, I believe the trick is to get yourself a half a dozen GLCDs (same type of course), build yourself a library of commands, and keep using those same routines for each project.
    And if you're still having problems with a particular GLCD, post 'er up here. Again, I am 100% sure somebody would try to help...

  9. #9
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Post

    Quote Originally Posted by jcleaver View Post
    see how complicated this gets trying to get a glcd command set in pbp
    others are doing this fine sure there must be some sort of standard graphic display that could be supported. some of us are more interested in building some nifty project than trying to learn high level programing thought thats what pbp was supposed to do really think it could use a update in simplicity
    PBP is a high level language where as ASM is a low level one. And, I think the biggest disadvantage of having support for graphics displays is going to be the bloated output. Better to write your own routines because there may be certain functions that you don't require which will only cost you code space. One of PBP's strong points is that it compiles to a highly optimized small output, most others don't. If PBP did have support for graphics displays - you have to remember that the entire library would need to be included in your code, even if you use all, some or none of its functions. Not worth it.

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


    Did you find this post helpful? Yes | No

    Default

    PBP don't compile as this tight. There's other compiler (BASIC, C) that provide tighter code than this. but PBP is mature and... 99.8% bug-free.

    I like to build my own tight and optimized routine, some are self expanding, meaning that if some feature aren't used, this will not INCLUDE the un-necessary code. PBP do it as well... in it's own way. There's place for optimization so far.
    Steve

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

  11. #11
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Post

    Quote Originally Posted by mister_e View Post
    PBP don't compile as this tight. There's other compiler (BASIC, C) that provide tighter code than this. but PBP is mature and... 99.8% bug-free.

    I like to build my own tight and optimized routine, some are self expanding, meaning that if some feature aren't used, this will not INCLUDE the un-necessary code. PBP do it as well... in it's own way. There's place for optimization so far.
    Yeah a C compiler might easily give PBP a run for its money and win the race - but from what I"ve read, other flavors of BASIC just don't stand up to PBP.

Similar Threads

  1. Replies: 3
    Last Post: - 15th October 2008, 19:04
  2. graphics lcd with lcdout style serial??
    By reaper0995 in forum Serial
    Replies: 4
    Last Post: - 27th March 2008, 19:57
  3. Graphics controller for the Sitronix ST7549
    By ttease in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 26th May 2007, 21:45
  4. OT: KS0108 Graphics LCD control question
    By Archilochus in forum General
    Replies: 2
    Last Post: - 18th December 2004, 18:23
  5. graphics display
    By adlinsystems in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th June 2004, 12:53

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