Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • F firmware
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare revisions
  • Issues 75
    • Issues 75
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 31
    • Merge requests 31
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • External wiki
    • External wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • card10card10
  • firmware
  • Issues
  • #212

Display stays dark when using pycard10/console and g-watch

I'm not sure how to solve this one: When g-watch is in power save mode and has the display backlight turned off, executing some code using pycard10 does not show anything on the screen (because it is off).

I'm considering adding a hard coded command to pycard10 which resets the card10 in a similar way as pressing the menu button does.

A similar issue exists if one uses the console though. You can stop the app using CTRL+C, but the display stays dimmed in that case. I fear that this will lead to a lot of confusion and frustration among people who want to run some simple things using the display.

Maybe we can set the display backlight to the default 20% every time it is opened.

Another option would be to capture a CTRL+C in epicardium and turn on the display.

Maybe we even want to run hardware_reset() on CTRL+C

Edited Oct 13, 2020 by schneider
Assignee
Assign to
Time tracking