PIC18F8722 and LCD


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2007
    Location
    South-West of Australia. A small town called Denmark. 'Where the forest meets the sea.'
    Posts
    136

    Default PIC18F8722 and LCD

    I'm using:

    1. PIC18F8722 at 40MHz (HSPLL setting with a 10 MHz Xtal.
    2. PBP.
    3. Standard LCD
    4. All pins outputs and A/D off - all pins are digital.

    1. The LCD works fine on all the ports (with 8 pins) but not on PORTH.
    2. PORTH has other uses, apart from I/O: External memory, ECCP1 and ECCP2 but these are 'OFF' by default - and I've set the SFRs to confirm this.
    3. But still no luck with PORTH?
    4. Running other programs i.e LED flashing shows that the PINS of PORTH are working as outputs OK.

    Any ideas? I guess that I'm not setting some SFR?

    Regards Bill Legge

  2. #2
    Join Date
    Nov 2007
    Location
    South-West of Australia. A small town called Denmark. 'Where the forest meets the sea.'
    Posts
    136


    Did you find this post helpful? Yes | No

    Default Pic18f8722

    I have been digging around the PBP complier and have found:

    In the file '18F8722.BAS' there are the lines:

    PORTH VAR BYTE EXT
    @PORTH EQU PORTC

    Is this the cause of the problem?

    Regards Bill Legge

Similar Threads

  1. LCD Reset Problem
    By Bill Legge in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 24th February 2009, 08:55

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