微处理器仅用一条线驱动LCD的实现

技术分类: 微处理器与DSP  | 2007-12-11
来源:EDN | 作者:Noureddine Benabadji, University of Sciences and Technology, Oran, Algeria

  Listing 1 is the fully commented assembler source code for the LCD232 module; the main routine consists of the display of a 2?sec-delay “splash screen,” and then it enters an endless loop to wait for 1 byte as a command for the LCD, a maximum of 16 bytes as data for the LCD, and an ASCII zero. For test purposes wit

h an external PIC microcontroller embedded system, Listing 2 is a simple assembler source code, which sends another splash screen.

  References

  Raynus, Abel, “Squeeze extra outputs from a pin-limited microcontroller,” EDN, Aug 4, 2005, pg 96.

  “Microcontroller provides low-cost analog-to-digital conversion, drives seven-segment displays,” EDN, May 10, 2007, pg 80.

  Niven, Rex, “RC lowpass filter expands microcomputer’s output port,” EDN, June 21, 2007, pg 74.
 
英文原文地址:http://www.edn.com/article/CA6505569.html

1】【2
加载中

对文章的评论

剩余字数:  

浏览该文章的用户还看过...

  • 文 章

  • 论 坛

  • 博 客

  • 小 组

设计资源与分销