[PR #53] [MERGED] On-demand example now compatible with ESP-01 boards #1569

Closed
opened 2026-02-28 01:30:42 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/tzapu/WiFiManager/pull/53
Author: @riccibitti
Created: 1/9/2016
Status: Merged
Merged: 1/11/2016
Merged by: @tzapu

Base: masterHead: master


📝 Commits (6)

📊 Changes

1 file changed (+12 additions, -13 deletions)

View changed files

📝 examples/OnDemandConfigPortal/OnDemandConfigPortal.ino (+12 -13)

📄 Description

Changed to make it work on ESP-01 boards.
It turn out that on ESP-01, the pin cannot be checked at setup as its only available pins, gpio0 and gpio2, are shared with the bootloader and must be kept HIGH at power-up.

  • moved triggering of configuration portal into Arduino's loop() function
  • changed pin from 4 to 0 (and made it #define-able)

🔄 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/tzapu/WiFiManager/pull/53 **Author:** [@riccibitti](https://github.com/riccibitti) **Created:** 1/9/2016 **Status:** ✅ Merged **Merged:** 1/11/2016 **Merged by:** [@tzapu](https://github.com/tzapu) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (6) - [`7137082`](https://github.com/tzapu/WiFiManager/commit/7137082e74a2f697f36b09031df1d97b7b2ce461) Removed redundant #include - [`687dc20`](https://github.com/tzapu/WiFiManager/commit/687dc20f3ebb1cef69f9b5ed8ebceb13b055dfd8) Changed to make it work on ESP-01 boards - [`9111feb`](https://github.com/tzapu/WiFiManager/commit/9111febd1989a6c72555ffd8b4eb0f9bb233e1e9) Merge commit '1db01f08e6c3cd627ea5decab31c687dee10c6e6' - [`3a79c6e`](https://github.com/tzapu/WiFiManager/commit/3a79c6eb996e5e68418cf7fd9f6ca33db7347195) Merge commit '0780115c7bd861cb8565d40ef1d1e254fe934f28' - [`1150a76`](https://github.com/tzapu/WiFiManager/commit/1150a760359ab40c047082303fb2e25c976013b4) Merge commit '90bac5d5803dec56b53dbb396acf0fb94cfac591' - [`5587532`](https://github.com/tzapu/WiFiManager/commit/5587532f01a8fe1ea2ee699a0e77a7d2c7198233) Manually reverted to current tzapu/master after messing with git commits ### 📊 Changes **1 file changed** (+12 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `examples/OnDemandConfigPortal/OnDemandConfigPortal.ino` (+12 -13) </details> ### 📄 Description Changed to make it work on ESP-01 boards. It turn out that on ESP-01, the pin cannot be checked at setup as its only available pins, gpio0 and gpio2, are shared with the bootloader and **must** be kept HIGH at power-up. - moved triggering of configuration portal into Arduino's loop() function - changed pin from 4 to 0 (and made it #define-able) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 01:30:42 +03: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/WiFiManager#1569
No description provided.