#include <LCD12864RSPI.h>
#define AR_SIZE( a ) sizeof( a ) / sizeof( a[0] )
unsigned char show0[]="Made by:";
unsigned char show1[]="Liu_sen";
byte logo0[1024];
int times=0;
void setup()
{
LCDA.Initialise();
delay(100);
LCDA.DisplayString(0,0,show0,AR_SIZE(show0));
LCDA.DisplayString(1,3,show1,AR_SIZE(show1));
delay(3000);
Serial.begin(9600);
LCDA.CLEAR();
delay(100);
LCDA.DrawFullScreen(logo0);
}
void loop()
{
if(Serial.available()>0)
{
logo0[0]=Serial.read();
Serial.println(logo0[0]);
LCDA.CLEAR();
delay(10);
LCDA.DrawFullScreen(logo0);
times++;
}
while(Serial.read() >= 0);
}
#define AR_SIZE( a ) sizeof( a ) / sizeof( a[0] )
unsigned char show0[]="Made by:";
unsigned char show1[]="Liu_sen";
byte logo0[1024];
int times=0;
void setup()
{
LCDA.Initialise();
delay(100);
LCDA.DisplayString(0,0,show0,AR_SIZE(show0));
LCDA.DisplayString(1,3,show1,AR_SIZE(show1));
delay(3000);
Serial.begin(9600);
LCDA.CLEAR();
delay(100);
LCDA.DrawFullScreen(logo0);
}
void loop()
{
if(Serial.available()>0)
{
logo0[0]=Serial.read();
Serial.println(logo0[0]);
LCDA.CLEAR();
delay(10);
LCDA.DrawFullScreen(logo0);
times++;
}
while(Serial.read() >= 0);
}