On Mon, Oct 24, 2011 at 4:00 PM, Yigit Turgut wrote: > On Mon, Oct 24, 2011 at 3:54 PM, Jan-Erik Soderholm > wrote: >> >> >> Yigit Turgut wrote 2011-10-24 14:36: >> >>> Hi everyone, >>> >>> My I/O is supposed to be as the following ; >> ... >> ... >> >>> TRISA =3D 10000000; >>> ADCON1 =3D 10000000; >>> TRISB =3D 00110001; >>> PORTB =3D00111001; >>> >> >> Are those values binary by default ? > > No they are not. > > On Mon, Oct 24, 2011 at 3:55 PM, Chris Roper wrote: >> Shouldn't that read: >> >> TRISB =3D 00001100; >> >> on the PIC 0 =3D Output, 1 =3D Input > > RB7 is high, 00001100 this doesn't introduce that. > Sorry I got you wrong, you are right, trying again.. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .