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
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