TinyCircuits Forum

TinyCircuits Products => TinyTV & Tiny Video Player => Topic started by: jgavlik on July 21, 2022, 03:05:17 PM

Title: Tiny TV Remote Power ON-OFF
Post by: jgavlik on July 21, 2022, 03:05:17 PM
Question....does either the remote control or OLED push button actually turn power OFF; i.e., no battery power to the circuitry...or...does this simply blank the display as in display.off()

-john
Title: Re: Tiny TV Remote Power ON-OFF
Post by: lennevia on July 21, 2022, 04:09:07 PM
Only the power switch on the bottom left disconnects the power completely. The bottom left button and remote just turn off the screen.

I hope that helps!

Thanks,
Réna
Title: Re: Tiny TV Remote Power ON-OFF
Post by: jgavlik on July 21, 2022, 06:12:22 PM
Réna,

Then based on your comments, can one assume that this is the part of the code that does the Tiny TV ON-OFF without the power switch?

-john

  if (IRresult == powerCode || checkNewButtonPress(TSButtonLowerLeft)) {
    if (!isOff) {
      if (!isStopped()) {
        requestPause();
        delay(10);
        display.endTransfer();
      }
      display.off();
      isOff = true;
    } else {
      display.on();
      if (!isStopped()) {
        display.goTo(0, 0);
        display.startData();
        requestUnPause();
      }
      isOff = false;
    }
  }
Title: Re: Tiny TV Remote Power ON-OFF
Post by: lennevia on July 22, 2022, 12:14:11 PM
Yes, that's it.
Title: Re: Tiny TV Remote Power ON-OFF
Post by: jgavlik on July 22, 2022, 12:39:50 PM
Réna,

Thanks, again!

-john