Tagged articles
4 articles
Page 1 of 1
Liangxu Linux
Liangxu Linux
Nov 12, 2025 · Fundamentals

Mastering Button Management in Embedded C with lwbtn: A Deep Dive

This article introduces the lightweight lwbtn library for embedded C, explains its core features, shows how to integrate it on STM32 with a complete demo, and provides an in‑depth analysis of its architecture, state‑machine processing, click detection algorithm, configuration options, and practical usage tips.

CGPIOSTM32
0 likes · 13 min read
Mastering Button Management in Embedded C with lwbtn: A Deep Dive
JavaScript
JavaScript
Oct 12, 2025 · Frontend Development

How to Stop Double‑Click Mishaps: Proven Front‑End Strategies

This article explains why buttons are often clicked repeatedly in web apps, outlines common causes such as user habits, network latency, and bugs, and presents several practical front‑end solutions—including disabling the button, using a flag, CSS tricks, and backend idempotency checks—to prevent duplicate submissions and improve user experience.

Debouncebuttondouble-click
0 likes · 7 min read
How to Stop Double‑Click Mishaps: Proven Front‑End Strategies
JavaScript
JavaScript
Jun 11, 2025 · Frontend Development

How to Prevent Double-Click Mishaps in Frontend Buttons: Proven Strategies

This article explains why buttons are often clicked repeatedly in web apps, outlines common causes such as user habits, network latency, and bugs, and presents multiple practical solutions—including disabling the button, using a flag, applying CSS pointer‑events, and enforcing backend idempotency—to ensure robust, user‑friendly interactions.

Debouncebuttondouble-click
0 likes · 7 min read
How to Prevent Double-Click Mishaps in Frontend Buttons: Proven Strategies