solarwind wrote: > I'm looking for > some pre-made routines. Using the timer is another option, but the > dsPIC33 datasheet doesn't explain too much about TIMER1. It's not that hard to figure out, IMO. The Family Reference Manual has everything you would want to know about it: http://ww1.microchip.com/downloads/en/DeviceDoc/70205B.pdf Vitaliy -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist