#include "stdio.h"
#include <string.h>
#include <math.h>
#include <alloc.h>
#include "..\lib\8028u.h"
#include "..\lib\8000.h"
void main()
{
	int iRet;
	Print("InitLib\r\n");
	Getch();
	InitLib();
	Print("i8028UW_Init\r\n");
	Getch();
	i8028UW_Init(1);
	Print("i8028UW_WriteAOHex\r\n");
	Getch();
	iRet=i8028UW_WriteAOHex(1,0,1,65530);
	//iRet=i8028UW_WriteAO(0,0,3,5.1);
	Print("%d",iRet);
	Getch();
	Print("i8028UW_WriteAOHex\r\n");
	Getch();
	iRet=i8028UW_WriteAOHex(1,0,1,65530);
	//iRet=i8028UW_WriteAO(0,0,3,5.1);
	Print("%d",iRet);
	Getch();
	Print("i8028UW_WriteAOHex\r\n");
	Getch();
	iRet=i8028UW_WriteAOHex(1,0,1,65530);
	//iRet=i8028UW_WriteAO(0,0,3,5.1);
	Print("%d",iRet);
	Getch();
	Print("i8028UW_WriteAOHex\r\n");
	Getch();
	iRet=i8028UW_WriteAOHex(1,0,1,65530);
	//iRet=i8028UW_WriteAO(0,0,3,5.1);
	Print("%d",iRet);
	Getch();
}