I think you should look at the venerable 555 timer. It can be set up to provide a pulse train dependent on two resistors for frequency. The math for using it is simple, but I'm not sure whether it will handle a 0 Hz. pulse rate directly. You might need some inventiveness there.