bagarie Posted May 10, 2011 Report 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
Pete Dowson Posted May 10, 2011 Report 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now