When the connection between the IOIO and the client (Android / PC) is lost, all the pins float. You can thus use a pull-up / pull-down resistor on any pin to give it a default high / low state. There's no need to modify the firmware I believe. When you say "this would have fried..." what do you mean by "this"?
On Sun, Mar 23, 2014 at 9:33 PM, Tyler Trombetta <[email protected]>wrote: > All, > > Is it possible to change a pin state on disconnect of the phone/tablet > from the IOIO? Ideally, I'd like to have pin X open as a digital LOW when > the phone is disconnected. I saw an earlier post that mentioned embedding a > line of code inside the SoftReset() method in the firmware (or commenting > it out)- which I think should work. > > My questions: > 1) Can anyone see that this would cause a problem (ie. Pin X is always > digital LOW so x-y-z-situation-thing happens you should really know about)? > > 2) Is this the smartest way to do this, or the simplest/bad way to do > this? > > Last, less serious question: is there any reason this would have recently > fried another IOIO? Because that happened. > > Thanks, Tyler > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/ioio-users. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/ioio-users. For more options, visit https://groups.google.com/d/optout.
