SOUND makes LCD quit working


Closed Thread
Results 1 to 4 of 4

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    at the end of your program, you should or finish by a STOP command or with an endless loop, unless your PIC may behave in a weird way.
    Code:
    Here:   GOTO Here
    You may also need to check if ALL ADCs and comparators are disabled. Here i see 2 missing lines
    Code:
    ANSELH = 0
    CM2CON0 = 0
    And then what you drive and how, may help us to go deeper in our understanding.

    HTH
    Steve

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

  2. #2


    Did you find this post helpful? Yes | No

    Default

    Thanks for the help! The ANSELH = 0 line fixed the problem! This is a small part of my program. As I use PORTC to control the LCD, it's a wonder this hasn't caused more problems before now. I thought I RTFDS enough, but apparently not! Thanks again.

Similar Threads

  1. 2x16 lcd not working with pic16f72
    By vu2iia in forum Schematics
    Replies: 4
    Last Post: - 16th February 2011, 15:59
  2. My LCD code is not working...
    By kvrajasekar in forum mel PIC BASIC
    Replies: 2
    Last Post: - 7th December 2008, 06:41
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 17:56
  4. Simple LCD code not working..
    By davewanna in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 28th April 2008, 14:55
  5. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 27th June 2007, 00:07

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