Hi,
I have 11 byte's with bits. It's from a light curtain.
When beams are interrupted, those bit's are high.
What I wanna detect is: gaps.
When 5 byte's have all TRU bit's, then we get 5 byte's with the value 255. If there are more then 2 bits False in Byte 3 for example, then I need an alarm. Anyone has an idea how to write this?
I have 11 byte's with bits. It's from a light curtain.
When beams are interrupted, those bit's are high.
What I wanna detect is: gaps.
When 5 byte's have all TRU bit's, then we get 5 byte's with the value 255. If there are more then 2 bits False in Byte 3 for example, then I need an alarm. Anyone has an idea how to write this?