Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int dimtime = (65*dimming); // For 60Hz => 65
- usleep(dimtime); // Wait for start TRIAC
- digitalWrite(AC_LOAD1, HIGH); // Start TRIAC
- usleep(8.33); // Delay TRIAC
- digitalWrite(AC_LOAD1, LOW); // Turn off
Add Comment
Please, Sign In to add comment