26 lines
No EOL
274 B
C
26 lines
No EOL
274 B
C
#include "delay.h"
|
|
#include "main.h"
|
|
#include "display.h"
|
|
#include "menu.h"
|
|
#include "draw.h"
|
|
|
|
extern Menu *NOW;
|
|
|
|
sbit RS = P3 ^ 0;
|
|
sbit RW = P3 ^ 1;
|
|
sbit E = P3 ^ 2;
|
|
sbit CSA = P3 ^ 4;
|
|
sbit CSB = P3 ^ 5;
|
|
|
|
|
|
int main()
|
|
{
|
|
menuInit();
|
|
NOW->f(NOW);
|
|
while(1)
|
|
{
|
|
|
|
|
|
|
|
}
|
|
} |