A challenge: How to generate in a single PIC (16F877) 3 square waves with different frequencies? and more: all the 3 frequencies can assume any value from 1Hz to 1000Hz (in 1Hz steps). Preferentially I wish to see an routine/algorithm that allow me to write 3 words (2 bytes each)that will setup the 3 frequencies. This is my problem. Remember: this pic has 3 timer that could be used for this purpose... However I thinking it may be possible to use only one timer module (!?) If it isn't possible to make via software, I accept sugestions about any IC that exists and can do the following task: -Receive in I2C format the word (two bytes) that will setup an internal oscillator that will generate one square wave with the same value (in Hz) of the received word (two bytes), so my problem is solved: I may use 3 of this ICs. If your can help me or know an ICs that work like this or similar, tell me. See you, Beto. _________________________________________________________________________ MailBR - O e-mail do Brasil -- http://www.mailbr.com.br Estamos concorrendo ao IBEST - Servigos On-Line Acesse http://ibest.mailbr.com.br e Vote!