Total Newbie...


Closed Thread
Results 1 to 18 of 18

Thread: Total Newbie...

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Frozen001 View Post
    SO I guess that mean I must send the data out serially?? Like I said I hvae no programming experience, so everythign is new...
    Not so much serially, but yes, serially.

    You'll have to set each pin individually, for each operation, every time, because you are accessing each pin, one at a time, thru the I/O expander.

    For instance, to send any character (assuming the LCD is initialized), you'll have to set each data bit, one at a time, set the R/W line (which can most likely be set once to WRITE when the prorgam starts, then leave it alone), then strobe the E line high then back low.

    Initialization is another thing... It's a long-ish sequence of setting various bits and/or bytes in the LCD itself, specifying modes, cursors, and so on. Nice thing is, once it's done, you don't have to do it again.

    Call me crazy, but it's not really that hard once you get a set of 'core' subroutines built-up. Not to mention, you'll really get a feel for how PBP works once you're done writing the mess...

    I suppose the other option is to disconnect that LCD and wire it up as shown in the PBP manual or something close to it...which isn't an unreasonable option. Might require a bit of trace cutting and/or rewiring. Not sure, haven't look at the datasheet for that board too closely.

    (just looked at the datasheet for the board)
    For that matter, you could probably disconnect the LCD from the mount it sits in right now, plug it into that expansion slot off to the side and set up each pin to do what you need.
    If you can blink an LED, you can build up to running an LCD.
    Last edited by skimask; - 8th August 2008 at 17:49.

Similar Threads

  1. Newbie making an ignition timer
    By ChrisHelvey in forum mel PIC BASIC Pro
    Replies: 17
    Last Post: - 5th August 2012, 17:45
  2. Controlsystem for compact sporting (clay shooting)
    By Fredrick in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 30th July 2009, 16:48
  3. Total Motor Currents
    By Darrel Taylor in forum Off Topic
    Replies: 29
    Last Post: - 13th October 2008, 00:50
  4. Newbie: Temperature measurements
    By Budda in forum General
    Replies: 10
    Last Post: - 30th March 2007, 09:56
  5. request for a newbie forum
    By nimonia in forum Forum Requests
    Replies: 1
    Last Post: - 20th May 2006, 09:01

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