Device Control

A library for controlling a triac dimmer.
Uses the advanced capabilities of the Timer 1 perhipheral to offload all timing code from the CPU, resulting in much more accurate timing than is possible normally.

Author: Anson Mansfield

Maintainer: Anson Mansfield

Read the documentation


This library is compatible with the avr architecture so you should be able to use it on the following Arduino boards:


To use this library, open the Library Manager in the Arduino IDE and install it from there.