Announcement

Collapse
No announcement yet.

Can't Wake From Sleep With Touch

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Can't Wake From Sleep With Touch

    We are currently using the uOLED-32028-P1T(GFX) but looking at the uLCD-28PT(GFX). The sleep code I have works fine on the OLED display but does not work properly on the LCD. Basically with the LCD it does not exit sleep mode when the display is touched. I have two LCD displays and they both behave the same way. Here's what the code looks like...

    repeat
    state := sys_Sleep(5);
    if(!state)
    state := pin_Read(IO2_PIN); // check wake input
    endif
    until(state != 0);

    As I said, works find with the OLED but with the LCD it will wake up on the IO pin going high but not on a touch.

    Tried looking for a touch after sleep but that never returns anything.

    Also, saw some mention of a wake from sleep on IO pin change function. Was this ever implemented and if so, where is it documented.
Working...
X