Perform function after a period of time
You have to call timer.run() inside loop function.

The SimpleTimer library is more like a scheduler. You call at every so often, and it checks if there is any event that has expired.