OSDN Git Service

[General] Licence changed to GPL2->GPL+LE cause of sdcc's libraries; See http://sdcc...
[openi2cradio/OpenI2CRadio.git] / lcd_acm1602.h
1 /*
2  * OpenI2CRADIO
3  * I2C-LCD ACM1602 Handler
4  * (C) 2013-06-10 K.Ohta <whatisthis.sowhat ai gmail.com>
5  * License: GPL2+LE
6  */
7
8 #ifndef LCD_ACM1602_H
9 #define LCD_ACM1602_H
10
11 #include <stdarg.h>
12 #include <stdio.h>
13 #include <delay.h>
14 #include <string.h>
15
16 #include "i2c_io.h"
17
18
19 #ifdef  __cplusplus
20 extern "C" {
21 #endif
22
23 void acm1602_cls(unsigned char addr);
24 void acm1602_putchar(unsigned char addr, unsigned char c);
25 void acm1602_locate(unsigned char addr, char x, char y);
26 void acm1602_home(unsigned char addr);
27 void acm1602_printf(unsigned char addr, const char *fmt, ...);
28 void acm1602_cursordir(unsigned char addr, unsigned char right);
29 void acm1602_init(unsigned char addr, unsigned char cls);
30
31
32
33 #ifdef  __cplusplus
34 }
35 #endif
36
37 #endif  /* LCD_ACM1602_H */
38