Git Product home page Git Product logo

Comments (2)

felmue avatar felmue commented on July 20, 2024

Hi @uolot

from the M5Paper schematics there should be no difference about whether RTC (timer or alarm) or the power button is powering on the device. (I cannot test that myself as my M5Paper hasn't arrived yet.)

As an experiment, have you tried a timer wakeup using something like M5.shutdown(5)? Does that work as expected, i.e. wake up M5Paper after about 5 seconds?

BTW: judging from the picture on the back of the M5Paper the reset button has two functions depending on whether M5Paper is running from battery or USB. (Battery: turn off / USB: reset). So if your M5Paper is running from battery and in shutdown mode (turned off) already, pressing the reset button will do nothing.

Thanks
Felix

from m5epd.

dov avatar dov commented on July 20, 2024

I'm having a similar issue for a simple clock application that sleeps most of the time and wakes up once a minute and updates the time. Here are some steps that I did:

  1. When the device wakes up I'm checking M5.BtnP.isPressed() and using it to distinguish between a manual turn on (the button is pressed) and an RTC wakeup, in which the button is not pressed.
  2. I connected a LED to G32 to see when the RTC triggers and the device is turned on.

However, I'm stuck on the issue of how to send drawing commands to the EPD without doing M5.EPD.Clear(true). I.e. I'd like to update only a small region where I'm displaying the clock digits without clearing the whole screen. If I don't do M5.EPD.Clear() then there is garbage left in the display. Is there any solution to this?

from m5epd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.