[PR #132] [MERGED] [apps/python] Add set_brightness and get_brightness in Ion module #277

Closed
opened 2026-05-06 13:16:36 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/UpsilonNumworks/Upsilon/pull/132
Author: @Yaya-Cout
Created: 1/24/2022
Status: Merged
Merged: 1/25/2022
Merged by: @Lauryy06

Base: upsilon-devHead: upsilon-dev-mpy-extend


📝 Commits (3)

  • 1b786cf [apps/python] Add suspend, get/set_brightness in Ion module
  • 8859eb0 Remove suspend from Ion module
  • b5c6b89 Merge branch 'Lauryy06:upsilon-dev' into upsilon-dev-mpy-extend

📊 Changes

14 files changed (+56 additions, -4 deletions)

View changed files

📝 apps/code/catalog.de.i18n (+2 -0)
📝 apps/code/catalog.en.i18n (+2 -0)
📝 apps/code/catalog.es.i18n (+2 -0)
📝 apps/code/catalog.fr.i18n (+3 -1)
📝 apps/code/catalog.hu.i18n (+2 -0)
📝 apps/code/catalog.it.i18n (+3 -1)
📝 apps/code/catalog.nl.i18n (+3 -1)
📝 apps/code/catalog.pt.i18n (+2 -0)
📝 apps/code/catalog.universal.i18n (+2 -0)
📝 apps/code/python_toolbox.cpp (+2 -0)
📝 python/port/genhdr/qstrdefs.in.h (+3 -1)
📝 python/port/mod/ion/modion.cpp (+16 -0)
📝 python/port/mod/ion/modion.h (+2 -0)
📝 python/port/mod/ion/modion_table.cpp (+12 -0)

📄 Description

This pull request improves the Ion module of Python app. In effect, this pull request introduce some functionalities :

  • ion.suspend() to suspend the calculator
  • ion.set_brightness()to set the brightness level of screen, that is saved in calculator's preferences
  • ion.get_brightness() to read the brightness level from calculator preferences

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/UpsilonNumworks/Upsilon/pull/132 **Author:** [@Yaya-Cout](https://github.com/Yaya-Cout) **Created:** 1/24/2022 **Status:** ✅ Merged **Merged:** 1/25/2022 **Merged by:** [@Lauryy06](https://github.com/Lauryy06) **Base:** `upsilon-dev` ← **Head:** `upsilon-dev-mpy-extend` --- ### 📝 Commits (3) - [`1b786cf`](https://github.com/UpsilonNumworks/Upsilon/commit/1b786cffb4039959d4a1c54d3cece4f61a453eff) [apps/python] Add suspend, get/set_brightness in Ion module - [`8859eb0`](https://github.com/UpsilonNumworks/Upsilon/commit/8859eb0dea3551bff64ee8a4e78d77f4990bec82) Remove suspend from Ion module - [`b5c6b89`](https://github.com/UpsilonNumworks/Upsilon/commit/b5c6b8997d51488d31a3544b5fd270e2e2a0fd36) Merge branch 'Lauryy06:upsilon-dev' into upsilon-dev-mpy-extend ### 📊 Changes **14 files changed** (+56 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `apps/code/catalog.de.i18n` (+2 -0) 📝 `apps/code/catalog.en.i18n` (+2 -0) 📝 `apps/code/catalog.es.i18n` (+2 -0) 📝 `apps/code/catalog.fr.i18n` (+3 -1) 📝 `apps/code/catalog.hu.i18n` (+2 -0) 📝 `apps/code/catalog.it.i18n` (+3 -1) 📝 `apps/code/catalog.nl.i18n` (+3 -1) 📝 `apps/code/catalog.pt.i18n` (+2 -0) 📝 `apps/code/catalog.universal.i18n` (+2 -0) 📝 `apps/code/python_toolbox.cpp` (+2 -0) 📝 `python/port/genhdr/qstrdefs.in.h` (+3 -1) 📝 `python/port/mod/ion/modion.cpp` (+16 -0) 📝 `python/port/mod/ion/modion.h` (+2 -0) 📝 `python/port/mod/ion/modion_table.cpp` (+12 -0) </details> ### 📄 Description This pull request improves the Ion module of Python app. In effect, this pull request introduce some functionalities : - `ion.suspend()` to suspend the calculator - `ion.set_brightness()`to set the brightness level of screen, that is saved in calculator's preferences - `ion.get_brightness()` to read the brightness level from calculator preferences --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 13:16:36 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Upsilon#277
No description provided.