Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
8 views
1 page
LCD
Uploaded by
Koussay Mlik
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download
Save
Save Lcd For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
8 views
1 page
LCD
Uploaded by
Koussay Mlik
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Lcd For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save Lcd For Later
You are on page 1
/ 1
Search
Fullscreen
void lcd_cmd(unsigned char cmd) {
PORTC = (cmd & 0xF0);
EN = 1;
RW = 0;
RS = 0;
__delay_ms(2);
EN = 0;
PORTC = ((cmd << 4) & 0xF0);
EN = 1;
RW = 0;
RS = 0;
__delay_ms(2);
EN = 0;
}
void lcd_data(unsigned char data) {
PORTC = (data & 0xF0);
EN = 1;
RW = 0;
RS = 1;
__delay_ms(2);
EN = 0;
PORTC = ((data << 4) & 0xF0);
EN = 1;
RW = 0;
RS = 1;
__delay_ms(2);
EN = 0;
}
void lcd_init() {
lcd_cmd(0x02);
lcd_cmd(0x28);
lcd_cmd(0x0C);
lcd_cmd(0x06);
lcd_cmd(0x01);
__delay_ms(2);
}
void lcd_string(const char* str) {
unsigned char i = 0;
while (str[i] != '\0') {
lcd_data(str[i]);
i++;
}
}
You might also like
DDS Function Generator Embedded C Code
PDF
100% (1)
DDS Function Generator Embedded C Code
4 pages
Código Medidor de Distancia
PDF
100% (1)
Código Medidor de Distancia
15 pages
LCD Test
PDF
100% (1)
LCD Test
3 pages
LCD 4 Bit Test MCB 2300
PDF
100% (2)
LCD 4 Bit Test MCB 2300
7 pages
LCD
PDF
100% (1)
LCD
2 pages
Librerias LCD para Manejo en Avr Archivo en C
PDF
100% (1)
Librerias LCD para Manejo en Avr Archivo en C
11 pages
PIC C, Serial LCD Routines, CCS PCW Compiler PDF
PDF
100% (1)
PIC C, Serial LCD Routines, CCS PCW Compiler PDF
4 pages
LED Program
PDF
No ratings yet
LED Program
12 pages
Họ và tên: Hoàng Ngọc Bình - Nguyễn Thanh Tùng Lớp: Tự động hóa -K58 Bài 1
PDF
No ratings yet
Họ và tên: Hoàng Ngọc Bình - Nguyễn Thanh Tùng Lớp: Tự động hóa -K58 Bài 1
8 pages
CODE Activity 5-M
PDF
No ratings yet
CODE Activity 5-M
5 pages
Pic Prgrms
PDF
No ratings yet
Pic Prgrms
9 pages
E Signal Must Go High
PDF
No ratings yet
E Signal Must Go High
5 pages
4 Bit Mode Assi
PDF
100% (3)
4 Bit Mode Assi
6 pages
AVR
PDF
No ratings yet
AVR
3 pages
Interfacing LCD in 4bit Mode With lpc2138
PDF
100% (2)
Interfacing LCD in 4bit Mode With lpc2138
6 pages
File With MR Ndlovu
PDF
No ratings yet
File With MR Ndlovu
3 pages
Program Flow
PDF
No ratings yet
Program Flow
11 pages
VXLLJSBHJ
PDF
No ratings yet
VXLLJSBHJ
4 pages
#Include #Include Void Char Void Char Void Const Char Void Char Void Char Void Const Char Char Char Int Int Void
PDF
No ratings yet
#Include #Include Void Char Void Char Void Const Char Void Char Void Char Void Const Char Char Char Int Int Void
3 pages
LCD Pic Asm Code
PDF
100% (1)
LCD Pic Asm Code
4 pages
4 Bit LCD
PDF
100% (1)
4 Bit LCD
4 pages
Interfacing A LCD Display With 8051
PDF
100% (1)
Interfacing A LCD Display With 8051
7 pages
Problem On Samsung KS0713 - Crystalfontz LCD Forum
PDF
0% (1)
Problem On Samsung KS0713 - Crystalfontz LCD Forum
2 pages
LCD Interfacing
PDF
No ratings yet
LCD Interfacing
5 pages
Libreria LCD XC8 PDF
PDF
100% (3)
Libreria LCD XC8 PDF
2 pages
LCD Lib
PDF
No ratings yet
LCD Lib
5 pages
VLSI Code
PDF
No ratings yet
VLSI Code
4 pages
T C E E T: Embedded System Lab Experiment #4 LCD Programming
PDF
No ratings yet
T C E E T: Embedded System Lab Experiment #4 LCD Programming
7 pages
STM-32 (SCROLLING Led 4BIT)
PDF
No ratings yet
STM-32 (SCROLLING Led 4BIT)
8 pages
LCD.C LPC17xx Library
PDF
No ratings yet
LCD.C LPC17xx Library
5 pages
Pic16f887 Programs
PDF
No ratings yet
Pic16f887 Programs
58 pages
Microcontroller CP Merged-8
PDF
No ratings yet
Microcontroller CP Merged-8
1 page
LPC 2148
PDF
No ratings yet
LPC 2148
14 pages
Current Sensor
PDF
No ratings yet
Current Sensor
15 pages
Here Is A Code in C For Interfacing LCD in 8-Bit Mode
PDF
No ratings yet
Here Is A Code in C For Interfacing LCD in 8-Bit Mode
2 pages
Codigo LCD C Modificado
PDF
100% (1)
Codigo LCD C Modificado
3 pages
MC All Practical Code and Circuits
PDF
No ratings yet
MC All Practical Code and Circuits
30 pages
PIC C, Serial LCD Routines, CCS PCW Compiler
PDF
No ratings yet
PIC C, Serial LCD Routines, CCS PCW Compiler
4 pages
Hello World
PDF
No ratings yet
Hello World
3 pages
LCD 4 Bits
PDF
100% (1)
LCD 4 Bits
5 pages
AMC Practical 1-8
PDF
No ratings yet
AMC Practical 1-8
16 pages
Keykey
PDF
No ratings yet
Keykey
6 pages
PIRCODE
PDF
No ratings yet
PIRCODE
13 pages
Code Final
PDF
No ratings yet
Code Final
22 pages
BTVN 4
PDF
No ratings yet
BTVN 4
4 pages
Thư Viện Lcd
PDF
No ratings yet
Thư Viện Lcd
4 pages
LCD Test
PDF
No ratings yet
LCD Test
8 pages
Rew
PDF
No ratings yet
Rew
2 pages
Report
PDF
No ratings yet
Report
16 pages
ARM PART B Q3 and Q4
PDF
No ratings yet
ARM PART B Q3 and Q4
4 pages
LCD Controller For EM422 Driver With I2C
PDF
No ratings yet
LCD Controller For EM422 Driver With I2C
4 pages
LCD
PDF
No ratings yet
LCD
4 pages
24 Project 22 EEPROM Based Password Controlled Application
PDF
No ratings yet
24 Project 22 EEPROM Based Password Controlled Application
5 pages
Header File
PDF
No ratings yet
Header File
4 pages
CVBN
PDF
No ratings yet
CVBN
2 pages
Matrix Keyboard
PDF
No ratings yet
Matrix Keyboard
2 pages
Test Code
PDF
No ratings yet
Test Code
20 pages
Code
PDF
No ratings yet
Code
3 pages
24-38-51 Rev 04
PDF
No ratings yet
24-38-51 Rev 04
67 pages
EEE 1112 013 Solar Charge Controller Microcontroller
PDF
No ratings yet
EEE 1112 013 Solar Charge Controller Microcontroller
7 pages
5817 23810 1 PB
PDF
No ratings yet
5817 23810 1 PB
6 pages
TD2 Correction
PDF
No ratings yet
TD2 Correction
16 pages
LCD C
PDF
No ratings yet
LCD C
4 pages
Calculated Encryption
From Everand
Calculated Encryption
John C Livingstone
No ratings yet