4-bit LCD in C18 Compiler - Hi, here is a code in C18 for using an LCD in 4-bit mode to display the string "Hello ETO!". It use
Hi, here is a code in C18 for using an LCD in 4-bit mode to display the string "Hello ETO!". It uses a 4MHz oscillator for a clock frequency of 1us. The simulation file is in Proteus. To run it you can download a demo version from Labcenter Electronics.
//Nibble mode LCD Version 1.0 XTAL=4.0 MHz, for a clock freqyebc
//Author: Wond3rboy at www.electro-tech-online.com
/*Connections:
LCD D4-D7 = PD0-PD3
LCD EN = PE0...