Or you could just have the led driven by a circuit where the led is powered with logic low and unpowered logic high. We do this with our pumping systems, which power the pump during a system failure. We have a relay control the pump, where NC is pump on, and logic high turns the pump off. Confuses the heck out of the programmers at times because it is reverse to every either relay we use.
On Wednesday, April 11, 2018 at 12:37:50 AM UTC-5, Ilan Tal wrote: > > Unfortunately I didn't guess this up front, but it seems there is no way > to get a persistent output from the output pins. > What I wanted to do is turn on a LED and have it stay on until there is > another command to turn it off. > It seems that for this to happen the smart phone must have a continuous > connection to the ioio. > > When that program loses focus, the connection is broken and all pins go to > zero. > It seems the only way to persist the state is to have the ioio activate > external logic. > Is this the only way or have I missed something? > > Thanks, > Ilan > > -- You received this message because you are subscribed to the Google Groups "ioio-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to ioio-users+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. Visit this group at https://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.