Serial GLCD, how?


Closed Thread
Results 1 to 20 of 20

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    I think what Duncan's wanted to show you, is what you'll find at the bottom of the page... a PBP code example. They also explain few things as well.

    http://www.compsys1.com/workbench/On...ontroller.html

    OOOPs sorry... saw you asked for the serial code example... damn...
    Last edited by mister_e; - 15th April 2008 at 07:24.
    Steve

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

  2. #2
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    I think what Duncan's wanted to show you, is what you'll find at the bottom of the page... a PBP code example. They also explain few things as well.

    http://www.compsys1.com/workbench/On...ontroller.html

    OOOPs sorry... saw you asked for the serial code example... damn...
    Ohh yes.
    But aren't there anyone who knows the control commands for a MCP23S17 Serial->Parallel chip?

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mindthomas View Post
    But aren't there anyone who knows the control commands for a MCP23S17 Serial->Parallel chip?
    http://ww1.microchip.com/downloads/e...Doc/21952b.pdf

    1st Google hit...

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


    Did you find this post helpful? Yes | No

    Default

    This device can be used in SPI mode. Page 8 of the above PDF show you how to process with.

    Nice starter, is to compare a working code example and modify it for your need. The following is for 93LC56A EEPROMs

    http://www.melabs.com/resources/samples/x1/pbp/mwx.bas

    First i would suggest you to begin with parallel mode, then once you exactly know how your GLCD work, add the serial interface in between (after having done some tests with)
    Steve

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

  5. #5
    Join Date
    Mar 2008
    Posts
    43


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Thanks. But how to control a display with that!
    But to you Mister_E - Yes, i will try parallel first, but how could i port that to serial?

    Thanks for all your answers until now.

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mindthomas View Post
    Thanks. But how to control a display with that!
    Small steps...That's how you control a display with that.

    From what I've read, you're trying to build a working Particle Accelerator with duct tape, 2x4's, a shovel, and 3 pounds of cat litter....and make it work on the first try......

    Small steps....
    Build something, get it working, build something onto that, get that working, integrate the two, and so on and so on...

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mindthomas View Post
    Yes, i will try parallel first, but how could i port that to serial?
    Well, let's see. Once you have the parallel thing working, you'll know how the timing is implemented, and how the holly blue beast work... then it's just a matter to change some PORT read/write lines to SHIFTIN/SHIFTOUT statements.

    Be warned... the GLCD refreshing will be slower... or way slower. I never tried any serial thingy until now.

    New Compiler? Well i thought it was you here

    No problem at all, i was just kidding a little bit!
    Steve

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

  8. #8
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Talking

    Hi, Steve

    Don't you think MkB could have the looked-for code snippet ... ???

    Regards from France

    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 " !!!
    *****************************************

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


    Did you find this post helpful? Yes | No

    Default

    Well that have it online on the product page.
    http://www.mikroe.com/zip/adapters/s...d_examples.zip

    Unless you're using their compiler, it's not going to help huh?
    Steve

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

Similar Threads

  1. Replies: 33
    Last Post: - 19th March 2010, 04:02
  2. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 21:58
  3. Dynamic USB Serial Number (PIC18F4550)
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 16th July 2009, 18:03
  4. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 21:39
  5. interfacing to the pc serial port
    By kelangfei in forum General
    Replies: 4
    Last Post: - 7th October 2007, 23:35

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