The USB HID Mouse Example will help you to get familiar with the USB Device Port(UDP) and PIO interface on SAMV7/E7 Microcontrollers. Also it can help you to be familiar with the USB Framework that is used for rapid development of USB-compliant class drivers such as USB Human Interface Device class (HID).
This package can be used with SAMV71 Xplained Ultra board or SAME70 Xplained board that has UDP interface and have push button or joystick on it.
When a board running this program connected to a host (PC for example), with USB cable, the board appears as a HID-compliant mouse for the host. Then you can use the joystick or buttons on the board to control the pointer on the host. * E.g., to move it.
On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
Start the application.
-- USB Device HID Mouse Project xxx -- -- SAMxxxxx-xx -- Compiled: xxx xx xxxx xx:xx:xx --