Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   C code for 16F877A microcontroller (http://www.go4expert.com/forums/c-code-16f877a-microcontroller-t3814/)

teongkia 9Apr2007 23:32

C code for 16F877A microcontroller
 
Hi can anyone provide me a simple code in C for 16F877A microcontroller?
The operation is when pin A0 or pin A1 has 5V input it will produce 5v output at pin B5. I have rs232 cable connected to pin C6(Xmit) and C7(rcv). When pin A0 or pin A1 has an input of 5V, it will PRINTF("ATD0123423539;\n\r"); where my phone which is attached to the rs232 cable will call the destination number. Hope anyone here call help me out.Thanks.

ahayes 16Apr2007 12:54

Re: C code for 16F877A microcontroller
 
It should be in your compiler. You need to hook up the uC to a modem and then run the code.


All times are GMT +5.5. The time now is 03:29.