{\r
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);\r
USB_HostState = HOST_STATE_WaitForDeviceRemoval;\r
+ break;\r
}\r
\r
+ if (USB_Host_SetDeviceConfiguration(1) != HOST_SENDCONTROL_Successful)\r
+ {\r
+ LEDs_SetAllLEDs(LEDMASK_USB_ERROR);\r
+ USB_HostState = HOST_STATE_WaitForDeviceRemoval;\r
+ break;\r
+ }\r
+\r
USB_HostState = HOST_STATE_Configured;\r
break;\r
case HOST_STATE_Configured:\r
* - <b>MouseHost</b> - Mouse host demo, using the low level LUFA APIs to implement the USB HID class\r
* - <b>MouseHostWithParser</b> - Mouse host demo with HID Descriptor parser, using the low level LUFA APIs to implement the\r
* USB HID class\r
+ * - <b>PrinterHost</b> - Printer host demo, using the low level LUFA APIs to implement the USB Printer class\r
* - <b>StillImageHost</b> - Still Image Camera host demo, using the low level LUFA APIs to implement the USB Still Image class\r
* - <b>Incomplete</b>\r
* - <b>BluetoothHost</b> - Incomplete Bluetooth host demo, using the low level LUFA APIs to implement the USB Bluetooth class\r
|___|___|_||_n_| Framework for AVRs\r
=========================================\r
Written by Dean Camera\r
- http://www.fourwalledcubicle.com\r
+ http://www.fourwalledcubicle.com/LUFA.php\r
=========================================\r
\r
\r