Want bang to stop flickering
I've converted my analogue input (through a light sensor) to "1" and "0s". This causes led or toggle buttons to go on and off as I want - However, I'm using the timer object, which only takes bangs. My bang button flickers on and off as if I made no conversion of the analogue input at all (even if I put the signal through the toggle or LED.)
I'm stumped. Any thoughts?
... The attached image shows the number converted to "0", yet the bangs set to "1" - while the LED remaining off
You are posting to the wrong forum. This one is about object development in C/C++.
About your question: you seem to have misunderstood what a button is. Any input (including 0) causes the thing to light up for a fixed duration and output a bang. It doesn't have a binary state like led or toggle. Also your [> 600] causes a stream of 1 and 0 like 00000011100000111110000. You probably want to put a [change] object after that.
If you want to convert an arbitrary input to a bang, use [trigger b] instead (or [t b] in short). If you need the 0 and 1 to each create a bang, use [select 0 1] or something.
It's probably a good idea to go over the tutorials and documentation a bit more. This is really basic stuff, and it's all in there.
Thijs
Thanks - For answering my basic question on the wrong forum!