In a message dated 7/26/02 19:18:36 Eastern Daylight Time, rsillem@FLASH.NET writes: > > I am new to pics and have been having some trouble. I am using a > 16F628 to > control a L293D driver which is a TTL device. I tested the circuit with a > 16F84 before acquiring the 16F628 and it worked fine. So, not thinking I > assumed that RA0 through RA3 had TTL buffers on the 16F628 like it does on > the 16F84. But it does not. So before I rip my circuit apart and redo it, I > would like some confirmation that this is indeed the problem. If not I'll > look for other errors. Thanks! > If you are using PORTA in a digital mode you have to write ADCON1 = 7 at the very beginning of your program. Sid -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads