<div class="blockcode"><blockquote>#include <string.h>
#include "common.h"
#include "LCD1602.h"
void main(void)
{
UB8 i ;
UB8 author[] = "Author:YangRui" ;
Lcd1602Init();
for(i=0 ; i<sizeof(author)-1 ; i++)
{
Lcd1602AddressWriteByte(LCD1602_ROW0,i,author);
}
Lcd1602AddressWriteString(LCD1602_ROW1,0,"QQ:279729201") ;
while(1);
}</blockquote></div><br /> |