Author |
Message |
Topic: Someone please help |
teongkia
Replies: 3
Views: 5690
|
Forum: General CCS C Discussion Posted: Tue Apr 24, 2007 7:40 am Subject: Someone please help |
Thanks. I tried edit the code and tested it. But there are still some problems. The first problem is without triggering the remote pin, triggering the input sensor will trigger the output siren pin. W ... |
Topic: Someone please help |
teongkia
Replies: 3
Views: 5690
|
Forum: General CCS C Discussion Posted: Sun Apr 22, 2007 11:54 pm Subject: Someone please help |
Hi can anyone look at my code and tell me what is wrong with it?The basic operation is when I switch on the power supply, and when I supply 5V input in PIN_A4, it will enable the interrupt and trigger ... |
Topic: SET_TRIS_ for 16F877 |
teongkia
Replies: 13
Views: 18442
|
Forum: General CCS C Discussion Posted: Fri Apr 20, 2007 11:41 am Subject: SET_TRIS_ for 16F877 |
Hi I tried on this way on my code but It still didn't work on my PIC.When I switch on the power supply, the siren(PIN_B5) would have output immediately without triggering any sensor.And my remote cont ... |
Topic: SET_TRIS_ for 16F877 |
teongkia
Replies: 13
Views: 18442
|
Forum: General CCS C Discussion Posted: Sun Apr 15, 2007 10:34 am Subject: SET_TRIS_ for 16F877 |
Hi Ttelmah thanks for your information.Can you guide me on how to set flag in interrupt in order to make the code work?May I know is there any error on other parts of the code?Thanks. |
Topic: SET_TRIS_ for 16F877 |
teongkia
Replies: 13
Views: 18442
|
Forum: General CCS C Discussion Posted: Sun Apr 15, 2007 10:04 am Subject: SET_TRIS_ for 16F877 |
Hi really thanks for your information. Now I am doing a project on car security system which connects PIC16F877 to Sony Ericsson T630 using MAX232. I have this code but couldn't run. Can you check for ... |
Topic: SET_TRIS_ for 16F877 |
teongkia
Replies: 13
Views: 18442
|
Forum: General CCS C Discussion Posted: Sun Apr 15, 2007 8:47 am Subject: SET_TRIS_ for 16F877 |
Thanks.Hi how about I have pins A0,A1,A2 as input and A3,A4,A5 as output.How do I set it?How about port D which I not using it.Shoud I leave it or set it?If I have #USE RS232(baud=9600,parity=N,xmit=P ... |
Topic: SET_TRIS_ for 16F877 |
teongkia
Replies: 13
Views: 18442
|
Forum: General CCS C Discussion Posted: Thu Apr 12, 2007 9:59 am Subject: SET_TRIS_ for 16F877 |
Hi I'm using PIC16F877 for my project. Can anyone let me know how to SET_TRIS_A(_X__)
SET_TRIS_B etc.
I have pin A0,A1,A2,A3,A4 for input and pin B3,B4,B5 for outputs. I have pin C6 and C7 for RS2 ... |
|