Button Press-n-hold example - Volume

Last Updated 8 months ago

In this eaxample:

  • Buttons set "volCmd" to: up, down or stop.
  • Counter will repeat every 0.25 sec (counting up or down)
  • Upon button release, "volCmd" is set to: stop, breaking the up/down conditions.
File.php
File.php
File.php