Jump to content
The simFlight Network Forums

write a single BIT for PM System


Recommended Posts

HI Pete,

I'm trying to write or clear a single BIT of offset by PM system. But with no results.

I have made many operations with Fsuipc, Button Programming, mouse macro, compound Button ecc. ecc. But I fail on programming Offset and especially to set a single BIT like one I need for PM system.

Please can you explain me what parameter I need to put in on Button Tab on Fsuipc?

For example I need to interface my hardware switch to PM system that have Differents BIT for the same Offset.

I'll appreciate any help

Thanks

Arnaldo

Link to comment
Share on other sites

Please can you explain me what parameter I need to put in on Button Tab on Fsuipc?

The offset control for the size of parameter (byte, word or dword) toggle, set or clear bit. The parameter gives the mask of bits -- one or more -- to be changed. If you don't understand how to work out the decimal or hex value for the bit or bits you want to change please see the short tutorial on numbers, buts and so on in the FAQ sub-forum.

For example I need to interface my hardware switch to PM system that have Differents BIT for the same Offset.

You can set, clear or toggle any one or up to all bits in any byte word or dword. That's what the togglebits, setbits and clearbits controls are for.

Regards

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.