<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/1072" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2007-12-27T20:41:36+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/1072</id>

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-12-27T20:41:36+02:00</updated>

		<published>2007-12-27T20:41:36+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1072&amp;p=3635#p3635</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1072&amp;p=3635#p3635"/>
		<title type="html"><![CDATA[sending at least 50 bytes from PC to AVR]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1072&amp;p=3635#p3635"><![CDATA[
You need to implement usbFunctionWrite() and return -1 in usbFunctionSetup() for a particular request. When you send this request from the host, the driver will call usbFunctionWrite() in chunks of 8 bytes until all data is received.<br /><br />See usbdrv.h for a description of usbFunctionWrite() and usbFunctionSetup(). You need to enable usbFunctionWrite() in usbconfig.h.<br /><br />An example for this can be found in Automator, although this is also a HID compliant device. On the other hand, you might want to be HID compliant, too.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Thu Dec 27, 2007 8:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Kernel]]></name></author>
		<updated>2007-12-27T18:04:18+02:00</updated>

		<published>2007-12-27T18:04:18+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=1072&amp;p=3630#p3630</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=1072&amp;p=3630#p3630"/>
		<title type="html"><![CDATA[sending at least 50 bytes from PC to AVR]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=1072&amp;p=3630#p3630"><![CDATA[
Hi.<br />I already have established a connection between PC and the AVR and can exchange commands and data between both of them.<br />Now I want to send at least 50 bytes from PC to the AVR to store these and later print them on an external display.<br />My question now is, how I can arrange this.<br />Can please somebody tell/show me, what I have to do, to send the data over the USB to the AVR?<br /><br />Thanks a lot.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=681">Kernel</a> — Thu Dec 27, 2007 6:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
