Author |
Message |
Topic: checking Sequence |
ycho87
Replies: 3
Views: 6689
|
Forum: General CCS C Discussion Posted: Sat Apr 02, 2011 2:51 pm Subject: checking Sequence |
Hi temtronic
It maybe easier for you to just read the port and compare to the required conditions...I know it is for me ! and less chance of getting the syntax wrong. !
can you tell me how to do ... |
Topic: checking Sequence |
ycho87
Replies: 3
Views: 6689
|
Forum: General CCS C Discussion Posted: Sat Apr 02, 2011 1:06 pm Subject: checking Sequence |
Hi
I am trying to check the sequence using if statement.
first : IR1 and IR3 goes low and IR2 and IR4 stay high
check by while loop, if it is true then go to next if statement.
second : IR1 ,IR ... |
Topic: Checking sequence using if statement |
ycho87
Replies: 3
Views: 6651
|
Forum: General CCS C Discussion Posted: Tue Mar 22, 2011 3:44 am Subject: Checking sequence using if statement |
Hi PCM Programmer,
Thanks for your reply
Below is the modified code.
#include <16f877a.h>
#use delay(clock=20000000)
#fuses hs,noprotect,nowdt,nolvp
#define use_portb_lcd TRU ... |
Topic: Checking sequence using if statement |
ycho87
Replies: 3
Views: 6651
|
Forum: General CCS C Discussion Posted: Mon Mar 21, 2011 12:21 pm Subject: Checking sequence using if statement |
Hi,
I am currently doing Automatic room light controller.
There are 2 pairs of transmitters receivers.
Transmitter and receiver will be place at each side of the door.
http://uploadpic.org/stora ... |
Topic: Need help |
ycho87
Replies: 4
Views: 5643
|
Forum: General CCS C Discussion Posted: Mon Mar 21, 2011 3:29 am Subject: Need help |
Hi
i had changed from
lcd_putc(interrupt);
to
printf(lcd_putc,"%3u",interrupt);
but the number can only count up to 255.
Can you tell me how to count more than ... |
Topic: Need help |
ycho87
Replies: 4
Views: 5643
|
Forum: General CCS C Discussion Posted: Thu Mar 17, 2011 5:38 am Subject: Need help |
Hi
I am doing a project called automatic room light controller. A pair of transmitter and receiver will be place at each side of door to detect people in. The transmitter will generate a square wa ... |
Topic: Need help in programming |
ycho87
Replies: 1
Views: 3819
|
Forum: General CCS C Discussion Posted: Fri Mar 11, 2011 7:45 am Subject: Need help in programming |
Hi all,
Basically I will connect a missing pulse detector to a pic16f877a.
The output of the Missing pulse detector is a logic signal, it's either high or low. The output will be always in high an ... |
|