ตัวอย่างสมบูรณ์ — VR1/VR2 สลับ index
pot_monitor_ui.c
static pot_channel_t pot_channels[POT_COUNT] =
{
{ "VR1", "P15.5 ADC5", 1U, 0x14B8A6, },
{ "VR2", "P15.4 ADC4", 0U, 0x22C55E, },
{ "VR3", "P15.6 ADC6", 2U, 0xF59E0B, },
{ "VR4", "P15.7 ADC7", 3U, 0xF43F5E, },
};