I have built a F18 sim cockpit. I am using P3d with Vertical Reality Simulations . I have started the process to light up the Caution Advisory LED's My issue is when I setting up the offsets that VRS supplies has bit form 0 to 10 and Decimal up to 1024. Mobiflight only goes to 8 bits. Is there a setting where i can increase the bit size?
#Need Help with FSUIPC offset and bite size
1 messages · Page 1 of 1 (latest)
Try setting size in bytes to 2 Here
I am so fresh to programing the paint hasn't dried yet. So I have a FSUIPC offset of 0x66C0 and my bit is 10 and decimal is 1024. How would I input this information?
Each byte has 8 bits so the 10th bit is the second bit of the second byte or
00000010 00000000 binary or
0x0200 in hexadecimal
Using a mask of 0x0200 will read the status of the 10th bit.
Oh, I was assuming the bit in the documentation is the same as the Size in bytes and the bit-mask editor i would input the Decimal number. by the looks of it, its allot more complicated that it looks. So for the info from above I would select size of bytes of 2 and in the bit-mask editor I would only select 10. is this correct?
Yes, that should do it.
You use the same 2 byte offset with a different bit mask to read a different light status.
Thanks a for pointing me in the right direction