Lab 7 – USB Devices
Lab 7a – HID LED On/Off Toggle
Set LED on/off/blinking from Windows PC
via the USB serial port using the HID class
Uses HID host demo program supplied with
USB Developers Package
Lab 7b – CDC LED On/Off Toggle
Similar to Lab7a, but using CDC class to
transfer the data
Host-side uses CCS serial Terminal (
or Putty
)
Lab 7c – Send Short Message via CDC
Example sends a short message (i.e. time)
to host via CDC class
Host-side uses CCS serial Terminal (
or Putty
)
Lab 7d – Send Pushbutton State to Host
Starts by importing the Empty USB Example
You add code to read the state of the
pushbutton and send it to the host (
via
CDC)
Read data on host with serial terminal