LCD文字显示 [英] LCD TEXT DISPLAY
问题描述
您好,任何人都可以告诉我如何对PIC16F72芯片进行编程,以将"HELLO"之类的文本输出到LCD DISPLAY.我正在使用CCS编译器来编译代码.
这是我的代码示例:
#include< 16f72.h>
#USE DELAY(时钟= 4000000)
#FUSES XT,NOWDT,NOPROTECT
#USE RS232(波特= 9600,XMIT = PIN_B0,RCV = PIN_B1)
main()
{
set_tris_b(0x00);
while(TRUE)
{
puts("HELLO");
}
}
谁能帮我吗? :(:confused:
Hello, can anyone please tell me how to program a PIC16F72 chip to output a text like "HELLO" to a LCD DISPLAY. I am using CCS compiler to compile the code.
here is a sample of my code :
#include<16f72.h>
#USE DELAY(Clock=4000000)
#FUSES XT,NOWDT,NOPROTECT
#USE RS232(baud=9600,XMIT=PIN_B0,RCV=PIN_B1)
main()
{
set_tris_b(0x00);
while(TRUE)
{
puts("HELLO");
}
}
Can anyone please help me with it ?? :( :confused:
推荐答案
看看 ^ ],您应该可以
Take a look here[^], and you should be able to find the information you need.
谢谢您的帮助,但这对我没有多大帮助.有人可以告诉我如何与LCD进行通信,例如显示文本吗? .我使用的是CCS编译器,而不是HI-TECH C编译器..
在此先非常感谢:-D
Thanks for your help, but that wasn''t of much help to me. Can someone please tell me how to communicate with the LCD like displaying a text. I am using the CCS Compiler and not HI-TECH C Compiler ..
Thanks a lot in advance :-D
这实际上取决于所涉及的硬件.周围有很多不同的LCD
显示,您对要处理的内容一言不发.
通常,阅读文档应该有所帮助.
顺便说一句:请在您的原始问题中添加更多详细信息,请勿发布虚假答案.
:)
It really depends on the hardware involved. There are a lot of differentLCD
displays around and you say nothing about the one you have to deal with.
As a general rule, reading the documentation should help.
BTW: please add further details to your original question, don''t post fake answers.
:)
这篇关于LCD文字显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!