As a matter of course, I never use any supplied code without going through it first and debugging it. I look at them as SAMPLES! I always make changes ... - Mike -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads