Here's the math I used to come up with my output frequency.
The internal clock executes at 1Mhz.
If I use a 1:16 Prescaler, then it will take 256*16 clock pulses to overflow Timer0. 1,000,000/(256*16)=244Hz
Math was never my strong suit though...
I moved the enable/disable to where you suggested, and now I'm getting a 10Khz signal.
Getting closer...
EDIT: WOO! I forgot I'd changed another value! It works now! I'm getting my 244Hz signal! Thanks so much!
Bookmarks