//----------------------------------------------------------------------
//HK08-14 Analog Multiplexing an A to D            S215    08 1108
//----------------------------------------------------------------------
ubyte global g_obyt, g_polarity, g_mode, gw, gx, gy, gz
include "S215XC_cpu_config.bas"
include "S215XC_Std_func_6_group_A.bas"	//Basic I/O
include "S215XC_Std_func_5_group_B.bas"	//Delay functions
include "S215XC-a-to-d-conv-081109.bas"	//Analog to digital converter
include "S215XC-numpo.bas"	//Output a number of pulses equal to the number sent
			//to the function
//----------------------------------------------------------------------
proc main()
ubyte x 
Initp(0, 1)		//Regular port assignment; inverted I/O

while 1==1 do
//***********************

. . .


//*********************** 
done
endproc
//----------------------------------------------------------------------
