Demonstration applications
UM0501
10/23
Doc ID 14320 Rev 3
2.3 Help
mode
Pressing
SEL
from the main menu enters the
Help
mode. The following messages are
displayed sequentially on the LCD screen with a few second delay.
Figure 5.
Help mode submenus
To exit this demo, press the joystick
UP
.
2.4
ADC demo 1
This mode demonstrates the ADC operation that are performed using the
RV1
potentiometer on the evaluation board.
The converted value is displayed in different ways (see
●
On the LCD first line: in percentage of the ADC range, in hexadecimal and decimal
format
●
On the LCD second line: in a bar graph from 0% to 100% of the ADC range.
●
On the 4 LEDs: each LED represents approximately 25% of the ADC range.
If
KEY
is pressed, the converted value is output also on USART1 and/or USART2 interfaces
and/or a sound is played on the buzzer using the timer PWM.
Figure 6.
ADC demo 1 message
LEFT or RIGHT
to scroll menu
Press SEL to
enter sub-menu
Move UP to
exit sub-menu
065% 29Eh 0670d