/* * LCD interface header file * See lcd.c for more info * * Copywrite Craig Lee 1998 */ /* write a byte to the LCD in 4 bit mode */ extern void lcd_write(unsigned char); /* Clear and home the LCD */ extern void lcd_clear(void); /* write a string of characters to the LCD */ extern void lcd_puts(const char * s); /* Go to the specified position */ extern void lcd_goto(unsigned char pos); /* intialize the LCD - call before anything else */ extern void lcd_init(void); extern void lcd_putch(char); /* Set the cursor position */ #define lcd_cursor(x) lcd_write(((x)&0x7F)|0x80) #define LINE1 0x00 /* position of line1 */ #define LINE2 0x40 /* position of line2 */
Comments:
file: /Techref/microchip/language/C/io/lcd/hitachilcd-cl/lcd_h.htm, 3KB, , updated: 2015/7/2 02:14, local time: 2024/9/13 14:09,
35.171.45.182:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://www.piclist.com/techref/microchip/language/C/io/lcd/hitachilcd-cl/lcd_h.htm"> Colorized Source Code</A> |
Did you find what you needed? |
PICList 2024 contributors:
o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to www.piclist.com! |
.