Re: fs2phidgets and bitmaps
Offsets are byte-sized. Bytes contain 16 bits. Bit 16 is, therefore, in the next offset i.e. 8BE1 bit 0.
Regards,
Alan
Re: fs2phidgets and bitmaps
Quote:
Originally Posted by
CocnutAir
Bytes contain 16 bits.
no, a byte is 8 bits...
Nico
Re: fs2phidgets and bitmaps
Yup. Always 8 bits. Thanks, Nico.
FSUIPC bitmaps are generally 2 bytes i.e. 16 bits, although some may be longer.
FS2Phidget will allow for as many bits as the length of the FsVariable is configured.
To work with 32 bits the FsVariable length must be set to 4.
Regards,
Alan
Re: fs2phidgets and bitmaps
Quote:
Originally Posted by CocnutAir
FSUIPC bitmaps are generally 2 bytes i.e. 16 bits, although some may be longer.
Note that the FSUIPC offsets of lekseecon are either 1 byte (8 bits) or 4 bytes (32 bits).
Nico
Re: fs2phidgets and bitmaps
Thanks for the reply, I used offset + 2 Bytes and it worked