Look at the HelloIOIO example. It should make it clear. Instead of controlling three LED state based on the button state, you can easily change the loop to do on-sleep-off-sleep. On Nov 25, 2014 7:27 AM, "Javier Soriano" <[email protected]> wrote:
> Thanks! > > Another question: if we don't disconnect the Android, how can we program > the LED blink? > > El martes, 25 de noviembre de 2014 16:15:36 UTC+1, Ytai escribió: >> >> It is not possible for it to blink when the Android (or PC) is >> disconnected using the standard firmware. >> >> On Tue, Nov 25, 2014, 02:30 Javier Soriano <[email protected]> wrote: >> >>> So, it's not possible that the yellow led of the IOIO OTG can blink with >>> the standard firmware? >>> >>> Thanks! >>> >>> El martes, 25 de noviembre de 2014 05:48:13 UTC+1, Ytai escribió: >>>> >>>> On the IOIO v1 the LED pin supports PWM and on the IOIO-OTG it does >>>> not. In either case, all pins become floating as soon as the Android >>>> connection is dropped. >>>> Again, this is a description of the standard firmware. With customized >>>> firmware you can do whatever you please. >>>> >>> On Mon, Nov 24, 2014 at 1:22 PM, Javier Soriano <[email protected]> >>>> wrote: >>>> >>> Otherwise, would be possible use a PWM output on the port of the stat >>>>> led? >>>>> >>>> >>>>> -- >>>>> 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. >>> >> -- > 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.
