making a four port outlet timer

You install a library on your PC and then you use the library when you are writing your program. It will be exactly the same as using (for example) the Servo library with #include <Servo.h>

..R