Use of this program is subject to Atmel's End User License Agreement.
Please read file lic_page for copyright notice.
This embedded application source code illustrates how to implement a HID mouse application over the ATmega32U4 controller.
The STK600 configuration provide the following user interface (read STK600 configuration ):
The sample code is delivered for STK600.
This source code is usable with the following compilers:
Support for other compilers may required modifications or attention for:
As illustrated in the figure bellow, the application entry point is located is the main.c file. The main function first performs the initialization of a scheduler module and then runs it in an infinite loop. The scheduler is a simple infinite loop calling all its tasks defined in the conf_scheduler.h file. No real time schedule is performed, when a task ends, the scheduler calls the next task defined in the configuration file (conf_scheduler.h).
The sample dual role application is based on two different tasks:
1.7.2