Jump to content
The simFlight Network Forums

com.writefeature is not working


Recommended Posts

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

Link to comment
Share on other sites

  • 2 weeks later...

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

 

Link to comment
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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.