Home Automation blog

Skip to Content

Listing posts for 16 Jun 2018

Multi-function buttons

Posted by Chris

Date posted:

I've written an Arduino library for multi-functional buttons: single-press, double-press, and press-hold events. View code at github.com I've got it in use with these LED illuminated push buttons created by www.superhouse.tv to control my house's LED downlights: Single press: toggle on/off. Double press: toggle warm/cool white. Press-hold: dim up/down. Example...

Read more about Multi-function buttons

View similar posts categorised as: Arduino