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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.