Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(gpio): Support pin logic invertion (active high / low) for selected pin modes #193

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

Slider0007
Copy link
Owner

@Slider0007 Slider0007 commented Nov 17, 2024

Support pin logic invertion (active high / low) for pin modes Flashlight Digital, Trigger Cycle Start and Resume WLAN Connection.

  • Inputs (Trigger Cycle Start, Resume WLAN Connection): Trigger action with
    • 1-signal (Active High: supply level, 0 -> 1)
    • 0-signal (Active Low: GND level, 1 -> 0)
  • Outputs (Flashlight Digital): Flashlight on results in
    • 1-signal (Active High: supply level)
    • 0-signal (Active Low: GND level)

Further smaller adaptions:

  • Trigger Cycle Start, Resume WLAN Connection: Pin debounce time is now adjustable
  • WebUI: Align pin caputure mode names (only visual change of selection box items -> capital letters, without dash). Internal naming is unchanged.

Usage statistics:
Before (based on ESP32):
RAM: [= ] 14.3% (used 46972 bytes from 327680 bytes)
Flash: [========= ] 87.9% (used 1709433 bytes from 1945600 bytes)

After:
RAM: [= ] 14.3% (used 46972 bytes from 327680 bytes)
Flash: [========= ] 87.9% (used 1709785 bytes from 1945600 bytes)

@Slider0007 Slider0007 merged commit 932ae19 into develop Nov 18, 2024
10 checks passed
@Slider0007 Slider0007 deleted the gpio-lowactive branch November 18, 2024 18:02
Slider0007 added a commit that referenced this pull request Nov 19, 2024
Slider0007 added a commit that referenced this pull request Nov 29, 2024
Add parameter implemented in #193
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant