Juan Esteban Paz
Published © CC BY

Character LCD with 4 Data Bits

An alternative way of writing to a standard LCD using only 6 pins instead of 10 (4 databits) and save pins for your design.

BeginnerProtip18 minutes1,313
Character LCD with 4 Data Bits

Things used in this project

Story

Read more

Schematics

Workspace LCD4bit

Psoc Workspace

Code

Main.c

C/C++
#include <device.h>
//LCD
#define clr() LCD_ClearDisplay();

int main(){	     
    CyGlobalIntEnable;
    clr();  
    LCD_Start(); clr();     
    LCD_Position(0u, 0u); LCD_PrintString("LCD with 4bits");    
    LCD_Position(1u, 0u);LCD_PrintString("Cypress PSOC 4");
    for(;;){ 
        
    }
}

Credits

Juan Esteban Paz

Juan Esteban Paz

13 projects • 27 followers
Mechanical and Electrical Engineer enjoy working with PSOC

Comments