This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/MCU/MCU_7 _LCD12864/main.c
2022-05-05 20:25:59 +08:00

29 lines
No EOL
325 B
C

#include "delay.h"
#include "main.h"
#include "display.h"
sbit RS = P3 ^ 0;
sbit RW = P3 ^ 1;
sbit E = P3 ^ 2;
sbit CSA = P3 ^ 4;
sbit CSB = P3 ^ 5;
unsigned int i;
unsigned int j;
int main()
{
init();
clear();
while(1)
{
unsigned int line=0;
name(line);
line++;
if(line==64)
line=0;
delay(500);
}
}