For C8051F330 This code example illustrates using the internal ANALOG multiplexer to
measure ANALOG voltages on up to 8 different ANALOG inputs. Results are
printed to a PC terminal program via the UART.
The MEASURE program uses ANALOG and digital inputs to simulate a datalogger.
You may watch the value of ANALOG input POT1 and the state of S2, S3 Buttons
on MCBSTM32 evaluation board.