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

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.