-
Notifications
You must be signed in to change notification settings - Fork 356
Description
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