Jump to content
The simFlight Network Forums
zuby

com.writefeature is not working

Recommended Posts

zuby    0

hello everyone,

I'm calling com.writefeature(dev, "123",wrf) with event offset of air speed.

my mikroc code is

if(HID_Read() != 0)

{

AsciiToChar(&readbuff);

}

but hid read is not reading string from com.writefeature. i dont know why?

help me please. thanks in advance

Share this post


Link to post
Share on other sites
Pete Dowson    155

Sorry, I don't know what HID device you are using, but isn't "WriteFeature" used to set feature options in HID devices? if you are simply trying to communicate data to be used by code running in the device, shouldn't you be using the normal com.write?

I'm afraid I've no idea what "mikroc" is.

You also need to state which version of FSUIPC you are using, and which Flight Simulator.

Pete

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×