Interesting but common problem. This dimmer will not work with LED lights. You have to fire the triac each zero cross, not 50/60 but 100/120. They state: "In Arduino, dimmer is controlled with RBD dimmer.h library, which uses external interrupts and process time interrupts. It simplifies the code writing and gives more processing time for main code. Which is why you can control multiple Dimmers from one microcontroller.
You can download RBD Dimmer.h library and a few examples in «Documents» or on GitHub. We are constantly updating our library, so we recommend to check for the website updates or subscribe to our newsletter.
Dimmer is connected to Arduino controllers via two digital pins. First (Zero) to control the passing of Phase Null of AC, which is used to initiate the interrupt signal. Second (DIM/PSM) to control (dim) current.
Note that Zero requires connection to designated microcontroller pins (which are different depending on the model of Uno, Nano, Leonardo, Mega), since it tied to microcontroller interrupts."
You might try there examples first. Also your Arduino has background tasks operating which can cause flickering if you are not careful.
A copy of your schematic would be helpful, preferably not a frizzy thing.