Electrix
Member
For providing an interrupt signal to the PIC I wrote a small program in C. Now the problem is when I executed it the first time..it went ok..ie: woke up the PIC from sleep. I then connected an led to this Transmit Pin of the Serial Port (9 pin) and had accidently connected it directly to the LED..no resistance is between. After that when i tried...it did not work at all !
Could there be a possible damage to the port ??
Here's my code:
Could there be a possible damage to the port ??
Here's my code:
Code:
#include <stdio.h>
#include <conio.h>
void main()
{
int port = 0x3F8;
char value = '1'
outportb(port, value);
return(0);
}