<?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/526" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2007-06-15T19:49:30+02:00</updated>

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

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2007-06-15T19:49:30+02:00</updated>

		<published>2007-06-15T19:49:30+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=526&amp;p=1516#p1516</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=526&amp;p=1516#p1516"/>
		<title type="html"><![CDATA[Minimum holding time for HIDKeys]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=526&amp;p=1516#p1516"><![CDATA[
Yes, the poll interval time should be long enough.<br /><br />Regarding code readability: Yes, usbtiny is more readable since it has much less #ifdefs and other optional stuff. But all those features make AVR-USB more powerful. You can implement applications with up to 4 endpoints, such as AVR-CDC. AVR-CDC is for production, not for studying the algorithms.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Fri Jun 15, 2007 7:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-06-15T14:30:53+02:00</updated>

		<published>2007-06-15T14:30:53+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=526&amp;p=1511#p1511</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=526&amp;p=1511#p1511"/>
		<title type="html"><![CDATA[Minimum holding time for HIDKeys]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=526&amp;p=1511#p1511"><![CDATA[
Your solution is definitely more elegant as it uses existing MCU resources instead of &quot;hacking&quot; the putative keyboard. Modifying the given sources seems nigh-impossible for me.<br /><br />I don't want to offend anybody, but I seriously think that the code of usbtiny<br /><br /><!-- m --><a class="postlink" href="http://www.xs4all.nl/~dicks/avr/usbtiny/index.html">http://www.xs4all.nl/~dicks/avr/usbtiny/index.html</a><!-- m --><br /><br />is quite more readable.<br /><br />I chose HIDKeys for my initial idea because it seemed to be ideal for one way transfer.One key press at a time is good enough. I suppose the polling interval period of the keyPressed function would be the time required to hold the key down.<p>Statistics: Posted by Guest — Fri Jun 15, 2007 2:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spiff]]></name></author>
		<updated>2007-06-15T11:05:45+02:00</updated>

		<published>2007-06-15T11:05:45+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=526&amp;p=1507#p1507</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=526&amp;p=1507#p1507"/>
		<title type="html"><![CDATA[Re: Minimum holding time for HIDKeys]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=526&amp;p=1507#p1507"><![CDATA[
<blockquote><div><cite>rpg.314 wrote:</cite>Hi,<br /><br />I am planning to use the HIDKeys project as a data acquisition system. My system will have a MCU to gather data from various data sources and will signal it by pulling the input lines low. After data has been fed, one key configured as &quot;enter&quot; will be pulled low to signal break between two different data points. <br /><br />Since the external MCU can toggle the switches used much faster than a human being, I wish to know the minimum amount of time for which input pins of the HIDKeys must be pulled low to guarantee that the &quot;keystroke&quot; has been captured and sent back to the PC.</div></blockquote><br /><br />If you do two MCUs anyway, why not use some other form of interface between the two (such as SPI, TWI, UART or similar). This should be fairly simple. I have implemented a function to send a string of key-codes with my C64 USB keyboard. This was used for an easter egg, but also intended for doing keyboard macros. Basically, I had a buffer of the next character to be sent, and if the USB stack was ready for an interrupt I would create a report with the next key-code in it.<br /><br />Also, be aware that the report descriptor for the HIDkeys example only allows a single key-press at the time (if you need more simultaneous keys, you will need to make a different report descriptor).<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=226">spiff</a> — Fri Jun 15, 2007 11:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2007-06-15T10:58:40+02:00</updated>

		<published>2007-06-15T10:58:40+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=526&amp;p=1505#p1505</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=526&amp;p=1505#p1505"/>
		<title type="html"><![CDATA[Minimum holding time for HIDKeys]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=526&amp;p=1505#p1505"><![CDATA[
Hi,<br /><br />I am planning to use the HIDKeys project as a data acquisition system. My system will have a MCU to gather data from various data sources and will signal it by pulling the input lines low. After data has been fed, one key configured as &quot;enter&quot; will be pulled low to signal break between two different data points. <br /><br />Since the external MCU can toggle the switches used much faster than a human being, I wish to know the minimum amount of time for which input pins of the HIDKeys must be pulled low to guarantee that the &quot;keystroke&quot; has been captured and sent back to the PC.<p>Statistics: Posted by Guest — Fri Jun 15, 2007 10:58 am</p><hr />
]]></content>
	</entry>
	</feed>
