;PotDisp.spt   Display SPice10211 potentiometers on MS12 LCD

		ON		20		;LCD backlight

;Initialize the SPice connector for the SPice10211 

		ClrU
		setu		0,3		;set spice connector pin 4 as analog input
		setu		1,3		;set spice connector pin 5 as analog input
		setu		2,3		;set spice connector pin 6 as analog input
		setu		3,3		;set spice connector pin 7 as analog input
		setu		4,4		;set spice connector pin 8 as analog output
		setu		5,4		;set spice connector pin 9 as analog output
		SpiceConfigU

Loop:
		AnInF
		OBLCD_SetCur	0,0
		OBLCD_UDecDispXFW

		AnInE
		OBLCD_SetCur	0,7
		OBLCD_UDecDispXFW

		GoTo		Loop

