This program will read both A/D channels and display the
results as both a voltage and raw hex number over the RS-232.
A reading is taken every second.
The following code,
demonstrate how to implement the above program which reads both A/D Channels, namely AN0 and AN1
respectively and display out the results over an RS-232 terminal program running on a PC.