Provides internal interruptions at desired frequency for Arduino