快速登录:  

Forum: Old versions

话题: HID controller

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

bluedeHome userMember since 2011
Hello, I have just succesfully designed an HID device. All leds are working but for some reason cant implement Vumeter functionality. Before I designed this interface, I designed a MIDI one and it had Vumeter working.

In this case, I have 8 Bytes of buffer for 64 Leds. Each Led is one particular bit in a Byte.

My XML file for definition is (only shown problematic line of code):

<page type="out">

....

<bar bit="0x20" type="bitfill" name="VU_METER_LEFT" inverted="false" />

</page>


My XML file for mapping is (only shown problematic line of code):

<map value="VU_METER_LEFT" action="deck 1 get level"/>


I also tried in definition:

<bar bit="0x20" type="bitfill" min="0x00" max="0xFF" name="VU_METER_LEFT" inverted="false" />
<bar bit="0x20" type="bitmovel" min="0x00" max="0xFF" name="VU_METER_LEFT" inverted="false" />

<bar bit="0x20" type="bitfill" min="0x10" max="0xFF" name="VU_METER_LEFT" inverted="false" />

No matter what I put, the result is allways the same... A single led steady ON on play. I debugged using external software and verified this, only reports a static value.

What can the problem be?

Thanks in advance for your help.
 

发表时间 Tue 11 Oct 11 @ 8:13 pm
 

发表时间 Tue 11 Oct 11 @ 8:41 pm


(陈旧帖子或论坛版块会自动关闭)