This simple example shows how to use the Timeout service XMEGA to toggle 4-8 LEDs (depending on the board) at different speeds.
The timeout service can be found here.
All XMEGA devices with RTC or RTC32 can be used
The example will configure a tick speed of 4 Hz and use 4/8 different periodic timeouts channels to toggle 4/8 different LEDs at different speeds.
This software was written for the GNU GCC for AVR. Other compilers may or may not work.
For further information, visit Microchip.
Support and FAQ: https://www.microchip.com/support/