16f688 lcd connection


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Dec 2010
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by emerson View Post
    Would the 16c505, 16f630, or 16f627 be any easier to configure? I just found some in a box of components.
    HEY!!! I tried my code with both the 16f630 and the 16c505 and it worked! Too bad you can only program 16c505 once, oh well.

    Thanks to everyone for their help. I really appreciate your time and effort.
    Last edited by emerson; - 9th December 2010 at 19:37.

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hi emerson,
    glad it works with the chip you tried, but it should work with the 16F688 too. I am still leaning toward an analog function killing it. I did not see ANSELH in the data sheet but have found that to cause chips that have it to not do digital, try ANSELH=0 , if the compiler errors then it is invalid, but it is worth a try,(it is free to try, right?). You say you are set up to use MPASM. MPASM configs are different than the PB configs you have shown, and at any rate to use your own configs you MUST open the 16F688.inc file in your PBP root directory and comment out the config statements inside of it by adding a semicolon [ ; ] just ahead of them, there are 2 configs there one for PB and the other for MPASM. MPASM will look like
    @ __config, HS_OSC & MCLRE_OFF & . . . . if you do not comment them out you will get compile error complaint of overwriting . . . and it will use the default config you failed to comment out.
    Here is a link similar:
    http://www.picbasic.co.uk/forum/showthread.php?t=12695
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts