#include "delay.h"
#include "main.h"
#include "display.h"
#include "menu.h"
#include "draw.h"
#include "button.h"
extern Menu *NOW;
enum OPR opr=idle;
sbit RS = P2 ^ 0;
sbit RW = P2 ^ 1;
sbit E = P2 ^ 2;
sbit CSA = P2 ^ 4;
sbit CSB = P2 ^ 5;
sbit LCDRST =P2^3;
int main()
{
menuInit();
while(1)
NOW->f(NOW,opr);
}