bagarie Posted May 10, 2011 Report Share Posted May 10, 2011 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 Quote Link to comment Share on other sites More sharing options...
Pete Dowson Posted May 10, 2011 Report Share Posted May 10, 2011 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.