persistent state?

12 views
Skip to first unread message

Ilan Tal

unread,
Apr 11, 2018, 1:37:50 AM4/11/18
to ioio-users
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

Ytai Ben-Tsvi

unread,
Apr 11, 2018, 2:08:14 AM4/11/18
to ioio-...@googlegroups.com
Or change the firmware to do whatever you need.

--
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+...@googlegroups.com.
To post to this group, send email to ioio-...@googlegroups.com.
Visit this group at https://groups.google.com/group/ioio-users.
For more options, visit https://groups.google.com/d/optout.

Ilan Tal

unread,
Apr 11, 2018, 2:32:23 AM4/11/18
to ioio-users
The firmware change would not to do a reset upon loss of connection.
I suspect this would be a major project. No debugging capabilities.
Get all the source code and learn it to see where the change needs to be.
I would also need to have my application do a reset upon start up, and hope that doesn't break the connection.
In short, a major project.

Paul James

unread,
Apr 14, 2018, 4:10:13 PM4/14/18
to ioio-users
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.
Reply all
Reply to author
Forward
0 new messages