longkimari Posted September 4, 2018 Report Posted September 4, 2018 Hi , I'm tring to read and write about light. The documentation says that : Weather means that If I read it with ushort and convert to byte ,then modify it's value and convert back and write ? Any replies will be appriciate.
Paul Henty Posted September 4, 2018 Report Posted September 4, 2018 If you're using my DLL it's best to declare this offset as a bitarray. Please see the example code application - AC002_BitArrays under 'Advanced Concepts'. This example uses the lights offset you are referring to. If you're not using my DLL then you need to keep the value as a short, but test each bit using boolean arithmetic (bit-wise 'and', 'or' etc.) Paul
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now