How to convert frequent bang into zero or one?
Hi!
I am sending some data via the serial object from an Arduino to the Computer e.g an "A".
All I want is as long an "A" is recieved a toggle box is set and vice versa. The problem is that I read out data from the serial object every 50ms (via qmetro) and this means that the output changes with that frequency, but I want a "solid state" like "A received or not.
Max Patch
Copy patch and select New From Clipboard in Max.
How can I manage that?
Hi
[onebang]?
Brendan
maybe instead of using [sel 65], use [== 65] ->[change]->[toggle], so it stays on 1 rather continual bangs causing the toggle to alternate between 1 and zero
Max Patch
Copy patch and select New From Clipboard in Max.
So when is it considered "Not A?"
Max Patch
Copy patch and select New From Clipboard in Max.
introduces latency of course
Terry! Thank you, the latency solution works great.
Yours
Brantiko