Hi everybody. Time ago I worked with uCs of other families like the MCS52. If I wanted to generate a complicated waveform, there was autoreloadable registers. You put in this register the next value of time and when timer overan, this value was loaded and the output pin changed its level. There was easy. The timer of a PIC 16C56 even can't generate interrrupts, so the philosophy of this routine that generates waveforms must change. Maybe it would more convenient to implement subroutines that generate controlled delays. Well, can someone help me? Do anyone know what's the right way? Can I found routines of this kind anywere? Thanks. __________________________________________ Fernando Mengual innova - Sistemes d'Informaci— i Comunicaci— fmengual@innova.es