Search found 3 matches

by MaMu
Tue Sep 28, 2010 9:16 pm
Forum: V-USB
Topic: Experience with LibUsbDotNet C# USB Library
Replies: 4
Views: 5428

Re: Experience with LibUsbDotNet C# USB Library

IT WORKS! here's a bit from my own code public bool SetContrast(byte contrast) { if (IsConnected == false) return false; UsbSetupPacket packet = new UsbSetupPacket((byte)UsbRequestType.TypeVendor, (byte)RequestCommand.SetContrast, (short)contrast, 0, 0); int temp1; object temp2 = null; return MyUsbD...
by MaMu
Sun Sep 26, 2010 9:22 pm
Forum: V-USB
Topic: Experience with LibUsbDotNet C# USB Library
Replies: 4
Views: 5428

Re: Experience with LibUsbDotNet C# USB Library

have you tried break-pointing right before "ControlTransfer" and examining the packet before it's sent? Of course! The debugger is always good idea! Because I built my own hardware I'm using an old laptop for testing. I'll install the lightweight debugger. I have great success using LibUs...
by MaMu
Sat Sep 25, 2010 8:56 pm
Forum: V-USB
Topic: Experience with LibUsbDotNet C# USB Library
Replies: 4
Views: 5428

Experience with LibUsbDotNet C# USB Library

Hi, Does anyone have experience with the LibUsbDotNet C# USB Library? As hardware I’m using the power switch reference project on an Atmega328p. As V-USB version I’m using: vusb-20100715. When using the provided Windows command line tool my hardware works. Now I’m trying to get the LibUsbDotNet C# U...