PBP Glcd


Closed Thread
Results 1 to 14 of 14

Thread: PBP Glcd

Hybrid View

  1. #1
    Join Date
    Jun 2008
    Posts
    2

    Default PBP Glcd

    Hi,

    Have been looking around at various Basic compilers over the last few days - PBP does seem to receive generally good reviews.

    Having tried the free edition of Swordfish I was please to find it was easy to run their GLCD code examples ( it will drive 4 types of controllers )

    It seems however, that at nearly twice the price, PBP does not include any GLCD code and a search of these and similar forums does not provide any practical examples that a beginner like me could use.

    Does anyone know if there are any examples that would drive, say a 128x64 ks0108 Glcd from PBP - seems a bit of a short coming in a 'Pro' version if there isn't .

    thanks


    Richard

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by RICHARD.C View Post
    It seems however, that at nearly twice the price, PBP does not include any GLCD code and a search of these and similar forums does not provide any practical examples that a beginner like me could use.

    Does anyone know if there are any examples that would drive, say a 128x64 ks0108 Glcd from PBP - seems a bit of a short coming in a 'Pro' version if there isn't .
    The debate between PBP vs other compilers comes and goes...
    IMO - PBP is solid, does what you want, nothing more, nothing less.
    As far as driving a GLCD, there are plenty of examples here that handle GLCDs of various types (off the top of my head, 122x32, 128x64, Nokia 3100 types, Nokia color LCD from Sparkfun, 2 of which I've personally done). Same thing goes with anything else that PBP doesn't directly support. It's easy enough to add support...
    Practical examples that a beginner could use? My thoughts are...and these are ONLY my thoughts...maybe a beginner shouldn't be trying to drive a GLCD, maybe a beginner should be more concerned with flashing an LED first and working up to it. After all, you don't hop into a car at 13 years old and try to hit rush hour traffic in a sports car.

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


    Did you find this post helpful? Yes | No

    Default

    Richard,

    PBP is a fantastic language (your best choice of BASIC) If you need greater performance than the BASIC language can provide then C might be worth a look into as well. Believe me when I tell you that it's only marginally more involved than most dialects of BASIC. Built-in functions make things just as easy to do as in BASIC.

    Trent Jackson

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


    Did you find this post helpful? Yes | No

    Default

    As far as GLCD as concern, why Melabs don't include them in the built-in feature?

    Well, there's a load of Different Graphic controller, there's no official standard one, but some more popular model. KS0108 is one of them. I agree , they should consider to include it.

    There's quite a lot of pre-canned example for PBP, i think the best one to start is the one from Electronic Workbench website
    http://www.compsys1.com/workbench/On...ontroller.html
    and the code
    http://www.compsys1.com/support/PBP_Files/glipic/

    Swordfish is not a bad compiler, but only for 18Fs. There's few other compiler who have GLCD built-in feature as well. It's really up to you to decide... do you want to learn something, or you just want to do something...
    Steve

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

  5. #5
    Join Date
    Jun 2008
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    Hi guys,

    Many thanks for you helpful comments.

    I am a beginner to Basic but do have some assembler experience, part of the reason at moving to Basic was the fact that USB and GLCD was a more accessible option that could be used in the future.

    It just seemed a bit strange that the Pro version did not have such a feature; thought I might have missed something about it when reading up.

    While Swordfish does have a good working GLCD sample - as rightly pointed out, it only supports the 18F range, which is my current device, but does raise the question of what happens if they do not extend the range in the years to come.

    thanks again,

    Richard

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by RICHARD.C View Post
    ...what happens if they do not extend the range in the years to come...
    And I am sure they won't extend the support to 16xxx series with GLCD support. These routines need a lot of program memory and speed.

    Ioannis

Similar Threads

  1. PBP Book
    By Bruce in forum Off Topic
    Replies: 83
    Last Post: - 4th October 2021, 12:55
  2. GLCD handling in PBP
    By spreader in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 17th March 2009, 23:58
  3. GLCD Library for PBP
    By octal in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 7th November 2008, 15:21
  4. Compiler differences between PBP 2.33 & 2.46
    By nikopolis in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd May 2006, 19:01
  5. Newby- PBP wont compile for 18F (MPLAB)
    By jd76duke in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 17th December 2005, 23:30

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