Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Erik Strand
lufa
Commits
44179abc
Commit
44179abc
authored
Jul 21, 2009
by
Dean Camera
Browse files
Add PrinterHost demo to the documentation.
parent
d0db7843
Changes
3
Hide whitespace changes
Inline
Side-by-side
Demos/Host/ClassDriver/CDCHost/CDCHost.c
View file @
44179abc
...
...
@@ -75,8 +75,16 @@ 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
;
break
;
case
HOST_STATE_Configured
:
...
...
LUFA/ManPages/LibraryApps.txt
View file @
44179abc
...
...
@@ -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
...
...
README.txt
View file @
44179abc
...
...
@@ -5,7 +5,7 @@
|___|___|_||_n_| Framework for AVRs
=========================================
Written by Dean Camera
http://www.fourwalledcubicle.com
http://www.fourwalledcubicle.com
/LUFA.php
=========================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment