16f88 to parallax 2x16 lcd


Closed Thread
Results 1 to 11 of 11

Hybrid View

  1. #1
    Join Date
    Oct 2008
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    yes, i did get it to work. and yes, i am able to get a LED to blink from PORTB.3 and get string of char's to display on the LCD now.

    and, this is whether i set INTRC_OSC or EXTRC_OSC. although i am not using an external OSC!

    for my current code, at least from the process of elimination, having these two values, "DEFINE OSC x" and "OSCCON= x" set correctly made the difference along with the baud rate.

    thanks!

  2. #2
    Join Date
    Oct 2008
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    Hey Mackrackit,

    forgot to mention this...SEROUT2 vs SEROUT. i.e., SEROUT2 didn't work for me. once i switched to SEROUT, along with the other modifications, it has worked well. looks like some diff with the "true" or "inverted" mods with baud?? as i'm new to this hard to say for sure...

    thanks!

  3. #3
    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 rdxbam View Post
    Hey Mackrackit,

    forgot to mention this...SEROUT2 vs SEROUT. i.e., SEROUT2 didn't work for me. once i switched to SEROUT, along with the other modifications, it has worked well. looks like some diff with the "true" or "inverted" mods with baud?? as i'm new to this hard to say for sure...

    thanks!
    Just for fun now that it is working, try the SEROUT2 again.
    SEROUT is 8N1 so SEROUT2 396 should work. But maybe that is why MELABS has SEROUT so it works with Stamp stuff??
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Oct 2008
    Posts
    29


    Did you find this post helpful? Yes | No

    Default

    SEROUT2 396 worked

    >>But maybe that is why MELABS has SEROUT so it works with Stamp stuff??

    they are similar to the BS2 commands according to the PBP docs:

    http://www.melabs.com/resources/pbpmanual/5_61-5_64.htm

    i think, in my case, not getting the OSC & OSCCON defined correctly was throwing my troubleshooting off, and thus, at times, incorrectly thinking SEROUT2 was not working.

Similar Threads

  1. 2x16 lcd not working with pic16f72
    By vu2iia in forum Schematics
    Replies: 4
    Last Post: - 16th February 2011, 14:59
  2. 2x16 lcd problem
    By k3v1nP in forum mel PIC BASIC
    Replies: 11
    Last Post: - 30th October 2008, 04:46
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  5. 4 line LCD with 16F88
    By anj in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 7th February 2004, 09:06

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