NIT Fukui / ST7032

Fork of SB1602E by Tedd OKANO

Revision:
3:27245e83c96c
Parent:
2:baf578069dfc
--- a/SB1602E.h	Tue Apr 07 05:03:44 2015 +0000
+++ b/SB1602E.h	Fri Aug 31 07:42:16 2018 +0000
@@ -85,7 +85,7 @@
      * @param line line# (0 for upper, 1 for lower)
      * @param format following parameters are compatible to stdout's printf
      */
-    void printf( char line, char *format, ... );
+    int printf( char line, char *format, ... );
 
     /** Printf
      *
@@ -99,21 +99,21 @@
      * @param y Y vertical character position on the LCD
      * @param format following parameters are compatible to stdout's printf
      */
-    void printf( char x, char y, char *format, ... );
+    int printf( char x, char y, char *format, ... );
     
     /** Put character : "putc()"
      *
      * @param line line# (0 for upper, 1 for lower)
      * @param c character code
      */
-    void putc( char line, char c );
+    int putc( char line, char c );
 
     /** Put string : "puts()"
      *
      * @param line line# (0 for upper, 1 for lower)
      * @param s pointer to a string data
      */
-    void puts( char line, char *s );
+    int puts( char line, char *s );
 
     /** Put character into specified screen position
      *
@@ -121,7 +121,7 @@
      * @param x horizontal character position on the LCD
      * @param y vertical character position on the LCD
      */
-    void putcxy( char c, char x, char y );
+    int putcxy( char c, char x, char y );
 
     /** Clear the LCD
      */
@@ -171,7 +171,7 @@
 private:
     char    curs[2];
     void    init( char *init_massage );
-    void    clear_lest_of_line( char line );
+    int    clear_lest_of_line( char line );
     int     lcd_write( char first, char second );
     int     lcd_command( char command );
     int     lcd_data( char data );