Jump to content

Search the Community

Showing results for tags 'Low nibble'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • PIC Embedded Programming
    • BoostC and Chameleon compilers programming
    • BoostC porting source code
    • BoostC++ compiler programming
    • BoostBasic compiler programming
    • Assembler programming PIC
    • Novo RTOS Programming
    • Hardware PIC
    • Enhancement Requests
    • Bug Reports

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. I have a problem with the LCD setup. PIC is 18F2520 Here is the code: #define LCD_ARGS 1, /* Interface type: mode 0 = 8bit, 1 = 4bit(low nibble), 2 = 4bit(upper nibble) */ \ 0, /* Use busy signal: 1 = use busy, 0 = use time delays */ \ PORTC, TRISC, /* Data port and data port tris register */ \ PORTA, TRISA, /* Control port and control port tris register */ \ 6, /* Bit number of control port is connected to RS */ \ 4, /* Bit number of control port is connected to RW */ \ 7 /* Bit number of control port is connected to Enable */ #include <lcd_driver.h> // LCD template code This will not work but this does: #define LCD_ARGS 2, /* Interface type: mode 0 = 8bit, 1 = 4bit(low nibble), 2 = 4bit(upper nibble) */ \ 0, /* Use busy signal: 1 = use busy, 0 = use time delays */ \ PORTC, TRISC, /* Data port and data port tris register */ \ PORTA, TRISA, /* Control port and control port tris register */ \ 1, /* Bit number of control port is connected to RS */ \ 2, /* Bit number of control port is connected to RW */ \ 3 /* Bit number of control port is connected to Enable */ #include <lcd_driver.h> // LCD template code LCD works OK on High Nibble. Can anyone help me? LCD is wired: RC0 -> DB4 RC1 -> DB5 RC2 -> DB6 RC3 -> DB7 for low nibble. All I get is a flashing block cursor. Same working LCD is wired: RC4 -> DB4 RC5 -> DB5 RC6 -> DB6 RC7 -> DB7 for high nibble. Swapped LCD from another project using 16F883 chip. LCD works.. I usually use the high nibble but this project called for the LOW nibble. The PCBoard has already been made so it will be a hassle to change it to swap the pins to high. Surely the LOW Nibble option is OK but what's wrong? A bug in lcd_driver.h? Carlos
×
×
  • Create New...