Hi everyone, I'm trying to find some code for a frequency genetator using a PIC. 0Hz to 10khz 0.5Hz or 1Hz increments. I have been experiementing with PIC16C84, dividing a known frequency from the TRM0 Interupt, but dividing freqencies will not give me the freqency increments I need. eg 1MHz/100 = 10kHz 1MHz/101 = 9900.9Hz 1MHz/1,000,000 = 1Hz 1MHz/1,000,001 =0.9999999 Any help will be greatly appretiated Max ----------------------- Max Prager ---------------------