Serial In Header Sync?
-
Hi everyone,
I've been struggling to receive a synchronised series of byte data on my serial port (sent by an arduino).
The arduino sends a header of 255, followed by four bytes which I need to read in Isadora.
the problem is that I can't figure out how to get the "Serial In Watcher - Binary" to wait for the header and then output the following four bytes in the right order.
my actor looks like this (note that the 255 is in the correct place sent out on value1, but this isn't always the case as it keeps jumping around to the other value outputs):
and the settings look like this:
(note that none of my data values will be 255, I've reserved this for the header)
I'm guessing that Value1 needs to wait until it sees 255, but can't figure out how to do this in the documentation.
any help appreciated!