akhter900
Junior Member level 1
hidlibrary.dll
Hi........
I am facing some problems to read data from PIC18F4550 through USB. I am using C# express edition and HidLibrary.dll. As for firmware I am using CCS compiler.
Anyone please help me to read USB packet using C#?
Also let me have a good documentation about this.
Here is my sample code.... (not working)
==========================
HidDevice myDevice;
HidDeviceData myData;
public bool initialize();
public String read_data()
{
myData = myDevice.Read();
return myData.Data[0].ToString();
}
==========================
The program stopped at myDevice.Read(); and can not read.
I am eagerly expecting your help.
Akhter
Hi........
I am facing some problems to read data from PIC18F4550 through USB. I am using C# express edition and HidLibrary.dll. As for firmware I am using CCS compiler.
Anyone please help me to read USB packet using C#?
Also let me have a good documentation about this.
Here is my sample code.... (not working)
==========================
HidDevice myDevice;
HidDeviceData myData;
public bool initialize();
public String read_data()
{
myData = myDevice.Read();
return myData.Data[0].ToString();
}
==========================
The program stopped at myDevice.Read(); and can not read.
I am eagerly expecting your help.
Akhter