attached a slightly updated schematic. The block with the AC_Out isyour load (a light for example). On my board I have this as a hot andneutral to connect the load.
Has anyone actually tried using this example to dim multiple lights? I am wondering how to implement the timing issues with switching more than one pin on the arduino where each one has a different value for 'dim'. Anyone have any success or sample code they'd like to share?