#ifndef _MAIN_H_
#define _MAIN_H_

#include <reg52.h>
#include <intrins.h>
#include <absacc.h>
#include "display.h"

#define RELOAD (5000)

unsigned int TH, TL;


unsigned long int count = 0;

void setConfig()
{

	SCON=0X50;
	TMOD=0X20;			
	PCON=0X80;	
  TH1 = 0XFA;
  TL1 = 0XFA;
	TR1=1;
	SCON=0X50;
	
  XBYTE[0x8000]=0x00;

}



#endif