[PR #3] [MERGED] add pushbutton #2568

Closed
opened 2026-03-20 21:07:43 +01:00 by sascha_hemi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/OpenEPaperLink/OpenEPaperLink/pull/3
Author: @nlimper
Created: 1/28/2023
Status: Merged
Merged: 1/28/2023
Merged by: @jjwbruijn

Base: masterHead: pushbutton


📝 Commits (3)

📊 Changes

5 files changed (+31 additions, -3 deletions)

View changed files

📝 ap_fw/main.c (+1 -0)
📝 esp32_fw/include/commstructs.h (+1 -0)
📝 esp32_fw/src/newproto.cpp (+1 -3)
📝 tag_fw/fw29.bin (+0 -0)
📝 tag_fw/syncedproto.c (+28 -0)

📄 Description

This adds the possibility for a pushbutton on the tag. A button press causes an interrupt to wake from sleep, and triggers an update immediately.
Use #define HAS_BUTTON to turn this on/off.
To connect a button to the tag, use TEST-pin and GND, and place a capacitor of about 100nF in parallel to the switch. Due to the (internal) input pin pull_up resistor, I'm not sure how much extra current this will draw. I'm currently not able to measure microamperes, so this is to be determined.


🔄 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/OpenEPaperLink/OpenEPaperLink/pull/3 **Author:** [@nlimper](https://github.com/nlimper) **Created:** 1/28/2023 **Status:** ✅ Merged **Merged:** 1/28/2023 **Merged by:** [@jjwbruijn](https://github.com/jjwbruijn) **Base:** `master` ← **Head:** `pushbutton` --- ### 📝 Commits (3) - [`0a97f8a`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/0a97f8a1e1353a1e5c023d2c6c2b1639398d9d07) added button - [`7211dcf`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/7211dcf19e3b2b8f01555607cefaf568916e6358) bugfix on added button - [`5808fdd`](https://github.com/OpenEPaperLink/OpenEPaperLink/commit/5808fdd733908c7b23cb86af2844794507edc9d5) button fixes ### 📊 Changes **5 files changed** (+31 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `ap_fw/main.c` (+1 -0) 📝 `esp32_fw/include/commstructs.h` (+1 -0) 📝 `esp32_fw/src/newproto.cpp` (+1 -3) 📝 `tag_fw/fw29.bin` (+0 -0) 📝 `tag_fw/syncedproto.c` (+28 -0) </details> ### 📄 Description This adds the possibility for a pushbutton on the tag. A button press causes an interrupt to wake from sleep, and triggers an update immediately. Use #define HAS_BUTTON to turn this on/off. To connect a button to the tag, use TEST-pin and GND, and place a capacitor of about 100nF in parallel to the switch. Due to the (internal) input pin pull_up resistor, I'm not sure how much extra current this will draw. I'm currently not able to measure microamperes, so this is to be determined. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
sascha_hemi added the pull-request label 2026-03-20 21:07:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#2568