Skip to content

HelloIOIOService stops after 2/3 hours #132

@nivthetool

Description

@nivthetool

Hi Gurus,

i need a service that blinks a led (pin1) every 100 msec must run 24/7.
using HelloIOIOService everything works perfect for 2~3 hours, than led stops
please any help i have been struggling over a week with this.
i have tried
different phones
different boards
run both apk debug and release-signed
all act the same.

my androids are not rooted.

i have bought 2 boards from sparkfun

Hardware version: SPRK0020
Bootloader version: IOIO0400
Application version: IOIO0506

i have connected a led to pin 1
have connect my Android 4.4.2

running HelloIOIOService

protected void setup() throws ConnectionLostException, InterruptedException {
ntt_led_on=false;
ntt_led = ioio_.openDigitalOutput(NTT_LED_PIN, false);
}
public void loop() throws ConnectionLostException, InterruptedException {
ntt_led_on = !ntt_led_on;
ntt_led.write(ntt_led_on);
Thread.sleep(100);
}

TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions