/*
* main implementation: use this sample to create your own application
*
*/
#include "support_common.h" /* include peripheral declarations and more */
#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT)
/* Standard IO is only possible if Console or UART support is enabled. */
#include <stdio.h>
#endif
#include "PIT1.h"
#define uchar unsigned char
uchar count1=0;
uchar count2=0;
uchar i;
void main(void)
{
PIT1_init;
EnableInterrupts;
PIT1_start(9999);
while(1)
{
i=count2;
}