this is kazushi's branch of AD128160

Fork of AD128160 by Gingax x

Revision:
8:5b2cbd7120d3
Parent:
7:227b64bf8fb1
diff -r 227b64bf8fb1 -r 5b2cbd7120d3 s_Lcd.cpp
--- a/s_Lcd.cpp	Mon Jan 07 04:15:00 2013 +0000
+++ b/s_Lcd.cpp	Mon Feb 25 03:24:09 2013 +0000
@@ -137,18 +137,22 @@
     device.putc(0xAA);
     }
 
-void newline(void){
+void newline(int rgb){
     cx = 0;
     cy += 16;
     if(cy > 160){
         scroll();
         cy = 0;
-        color(0x001f);
+        color(rgb);
         cls();
         color(0xffff);
     }
 }
 
+void newline(void){
+    newline(0x001f);
+}
+
 void movecorsor(int a)
     {
     cx+=8*a;