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

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2011-03-22T11:43:17+02:00</updated>

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

		<entry>
		<author><name><![CDATA[Solaris_M]]></name></author>
		<updated>2011-03-22T11:43:17+02:00</updated>

		<published>2011-03-22T11:43:17+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17922#p17922</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17922#p17922"/>
		<title type="html"><![CDATA[Re: v-usb midi problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17922#p17922"><![CDATA[
Really, midiMsg[] must be in range from 0x00 to 0x7f.. I'll try to replace it.<br />Link for downloading all another code - <!-- m --><a class="postlink" href="http://zalil.ru/30715774">http://zalil.ru/30715774</a><!-- m --><p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5050">Solaris_M</a> — Tue Mar 22, 2011 11:43 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[adrian.gin]]></name></author>
		<updated>2011-03-21T21:08:14+02:00</updated>

		<published>2011-03-21T21:08:14+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17920#p17920</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17920#p17920"/>
		<title type="html"><![CDATA[Re: v-usb midi problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17920#p17920"><![CDATA[
are you using usbPoll() in your main loop?<br /><br />You also have to ensure that none of your data ie, midimsg2 or 3 exceeds 0x7F. by the looks of your code you send 0xFF and your midiMsg[2] looks to be possibly out of range.<br /><br /><div class="codebox"><p>Code: </p><pre><code> midiMsg&#91;1&#93; = 0xb1; //b1 DIN!!!<br /> midiMsg&#91;2&#93; = controll*8 + row;             <br /> if(1&amp; (input&#91;controll&#93;&gt;&gt;row)) sett = 0xff;<br /> else sett = 0;           <br /></code></pre></div><br /><br />It's difficult to help you when you don't post all the code.<br /><br />Adrian<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4481">adrian.gin</a> — Mon Mar 21, 2011 9:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Solaris_M]]></name></author>
		<updated>2011-03-21T14:46:23+02:00</updated>

		<published>2011-03-21T14:46:23+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17912#p17912</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17912#p17912"/>
		<title type="html"><![CDATA[Re: v-usb midi problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17912#p17912"><![CDATA[
Yes, on win7 and second winXP(!!!) device is shows up in device_manager, but feiders work only.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5050">Solaris_M</a> — Mon Mar 21, 2011 2:46 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[adrian.gin]]></name></author>
		<updated>2011-03-21T14:01:01+02:00</updated>

		<published>2011-03-21T14:01:01+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17910#p17910</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17910#p17910"/>
		<title type="html"><![CDATA[Re: v-usb midi problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17910#p17910"><![CDATA[
&quot;It does not work&quot;<br /><br />Does this mean that the device under the &quot;Device Manager&quot; shows up as not installed correctly?<br /><br />under Windows7, they've blocked off the use of Bulk Endpoints for Low speed devices, you can however use interrupt endpoints.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=4481">adrian.gin</a> — Mon Mar 21, 2011 2:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Solaris_M]]></name></author>
		<updated>2011-03-20T20:00:32+02:00</updated>

		<published>2011-03-20T20:00:32+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17903#p17903</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17903#p17903"/>
		<title type="html"><![CDATA[v-usb midi problem]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=5536&amp;p=17903#p17903"><![CDATA[
Hello!<br />I build a midi controller on v-usb(running on atmega48, HID driver), it consist of 23 analog feider and 16 buttons(using 'mux'). I have a problem - on pc with winXP it works great, but on win7 it only half-working - buttons don't work, and on another pc buttons don't work even on winXP, i am confused. See this code<br /><div class="codebox"><p>Code: </p><pre><code>din()<br />{....<br />                            midiMsg&#91;0&#93; = 0x0b;<br />                            midiMsg&#91;1&#93; = 0xb1; //b1 DIN!!!<br />                            midiMsg&#91;2&#93; = controll*8 + row;<br />               <br />                                    if(1&amp; (input&#91;controll&#93;&gt;&gt;row)) sett = 0xff;<br />                                    else sett = 0;           <br />                            midiMsg&#91;3&#93; = sett;<br />}<br />ain()<br />{...<br />            midiMsg&#91;0&#93; = 0x0b;<br />            midiMsg&#91;1&#93; = 0xb0; //B0 AIN<br />            midiMsg&#91;2&#93; = controll;   <br />            midiMsg&#91;3&#93; = value; //&gt;&gt; 3; //naaea a ADC()</code></pre></div><br />}<br />&quot;ain&quot; its function operational with analog input(feiders, ADC on atmega), &quot;din&quot; deals with buttons. Diffents beetwen &quot;din&quot; and &quot;ain&quot; is only second byte of midi_message. I even can replace &quot;midiMsg[1] = 0xb1&quot;(din) with &quot;midiMsg[1] = 0xb0&quot;, i think it will be work, but i don't understand - why it wouldn't work so? On my pc with winXP it work propely, on second winXP it doesn't work! <img class="smilies" src="./../../../images/smilies/icon_confused.gif" alt=":?" title="Confused" /> <br />What do you think about it?<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=5050">Solaris_M</a> — Sun Mar 20, 2011 8:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
