Two triac dimmer.

I'm working on a project with two triac dimmers that will drive two ac motors.I need help with the code how can i control them independently.Works fine when i drive only one triac.Thank you.

We can't help with code we can't see.

TriacDimmer library in Library Manager