Add PrinterHost demo to the documentation.

This commit is contained in:
Dean Camera 2009-07-21 10:29:56 +00:00
parent d0db78432f
commit 44179abcf8
3 changed files with 10 additions and 1 deletions

View File

@ -75,6 +75,14 @@ int main(void)
{
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
USB_HostState = HOST_STATE_WaitForDeviceRemoval;
break;
}
if (USB_Host_SetDeviceConfiguration(1) != HOST_SENDCONTROL_Successful)
{
LEDs_SetAllLEDs(LEDMASK_USB_ERROR);
USB_HostState = HOST_STATE_WaitForDeviceRemoval;
break;
}
USB_HostState = HOST_STATE_Configured;

View File

@ -82,6 +82,7 @@
* - <b>MouseHost</b> - Mouse host demo, using the low level LUFA APIs to implement the USB HID class
* - <b>MouseHostWithParser</b> - Mouse host demo with HID Descriptor parser, using the low level LUFA APIs to implement the
* USB HID class
* - <b>PrinterHost</b> - Printer host demo, using the low level LUFA APIs to implement the USB Printer class
* - <b>StillImageHost</b> - Still Image Camera host demo, using the low level LUFA APIs to implement the USB Still Image class
* - <b>Incomplete</b>
* - <b>BluetoothHost</b> - Incomplete Bluetooth host demo, using the low level LUFA APIs to implement the USB Bluetooth class

View File

@ -5,7 +5,7 @@
|___|___|_||_n_| Framework for AVRs
=========================================
Written by Dean Camera
http://www.fourwalledcubicle.com
http://www.fourwalledcubicle.com/LUFA.php
=========================================