Hi to all engineers, I need to generate 4 pulses at the same time with Different timing and based on battery voltage if The voltage does lower then +12 v duty cycle (on time) Must be changed go lower then 50%. |--------------------| |------ ______________| |____________________| ______________ ____________________ | | | |--------------------| |------ ---------------------| |--------------------| |____________________| | ____________________ | | | ---------------------| |--------------------| this is how I am thinking to do it. Find out about the frequency first then based on that generate interrupt on every rising or falling edge then use one of the timer to control on time thru ADC or maybe it is better to use tables instead. Any help will appreciated Andre -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body