upsexti

command
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Upsexti uses EXTI to detect changes in the button state. The LED should light up mmediately after pressing the button and go out 5 seconds after button release.

The algorithm presented in this example was originaly designed to control the UPS switch-over. It switches fast to the backup power source in the event of a mains failure and switch back when mains restores but with some dealy to avoid flapping.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL