Skip to content

TheDIYGuy999/rcTrigger

Repository files navigation

rcTrigger Arduino library

This is an Arduino library for RC vehicles

Features:

  • Allows to trigger multiple actions per analog RC channel
  • For example: 3 position rocker switch, 4 push buttons
  • two toggle functions per button (depending on push time)
  • RC PWM servo signals are usually coming in in Microseconds, this is the base for this library
  • momentary() true as long as in range (impulse)
  • toggle() toggling true / false (latching), if in range shorter than "duration"
  • toggleLong() toggling true / false (latching), if in range longer than "duration"

Changes:

  • v1.0: Initial commit
  • v1.1: Slight optimizations for ESP32 Sound & Light Controller
  • v1.2: Functions onOff() & window() added
  • v1.3: Arduino 1.5 structure, so it's not detected as "legacy" library anymore

Usage

Code examples

Transmitter analog channel wiring (instead of a potentiometer)

See example.

(c) 2020 - 2021 TheDIYGuy999

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages