I wrote a very simple C18 code for my PIC18F452 and it does'nt do what I expected it to do. It can only react to commands like PORTA = 0b11111111. Other commands like while, delay routines seems to be dead. And when I tried to toggle the values of PORTB by doing: PORTB = 0b00000000; PORTB = 0b11111111; PORTB = 0b00000000; PORTB = 0b11111111; I measure the voltage at PORTB and found that the voltage gets lower and lower eg from 5V to 3.8V. Similarly, the 0V becomes 0.8V, 1.1V.... Thank You _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body