On Mon, Oct 24, 2011 at 4:22 PM, Jan-Erik Soderholm wrote: > > > Yigit Turgut wrote 2011-10-24 15:08: >> Problem is believed to be originating from low consumption of >> caffeine, and is solved now. > > And the problem was, what ? Problem was RB0 is the LSB of the configuration bit array and RB7 is the MSB as stated at hmmm ; everywhere. And the low consumption of coffee. On Mon, Oct 24, 2011 at 4:20 PM, Nicola Perotto w= rote: > > > On 24/10/2011 12.36, Yigit Turgut wrote: >> >> Hi everyone, >> >> My I/O is supposed to be as the following ; > > We are not supposed to know: language, compiler, default number radix, > etc... > > >> AN0>> analog input >> RB0>> digital output (initially low) >> RB1>> digital output (initially low) >> RB2>> digital input (initially high / pulldown pushbutton) >> RB3>> digital input (initially high / pulldown pushbutton) >> RB4>> digital output (initially high) >> >> TRISB =3D 00110001; >> PORTB =3D00111001; > > Maybe RB0 is last digit and RB7 is first digit And maybe an error occurrs and mcu turns out to be FIFO, just maybe. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .