Author |
Message |
Topic: LED not blinking.... |
sanddune008
Replies: 5
Views: 5455
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 9:42 am Subject: LED not blinking.... |
thanks.....i didn't notice the micro second thing.... |
Topic: LED not blinking.... |
sanddune008
Replies: 5
Views: 5455
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 9:22 am Subject: LED not blinking.... |
i removed fast_io().....now the LED has come up.....but its steady and not blinking....
I am using 11.05932Mhz...... |
Topic: LED not blinking.... |
sanddune008
Replies: 5
Views: 5455
|
Forum: General CCS C Discussion Posted: Mon Jul 20, 2009 8:43 am Subject: LED not blinking.... |
#include <16F877.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
//#FUSES XT
#FUSES HS
#FUSES NOPUT //No Power Up Timer
#FUSES NOPROTECT ... |
Topic: how will the bit order be assigned? |
sanddune008
Replies: 3
Views: 4881
|
Forum: General CCS C Discussion Posted: Mon May 18, 2009 3:14 am Subject: how will the bit order be assigned? |
Hi,
typedef struct {
unsigned int type : 5;
unsigned int bit:3;
} ustruct;
ustruct bye;
Is this assignment correct if i have to set 3 bits?
[b]bye.bit= ... |
Topic: Application hangs |
sanddune008
Replies: 17
Views: 13771
|
Forum: General CCS C Discussion Posted: Mon Feb 23, 2009 3:35 am Subject: Application hangs |
So,
eg:
typedef enum
{
CMD1=1,
CMD2
}Cmd;
Then to send CMD1 I need to convert them to ASCII postfix a Carriage return send it across the cable and at Tx reconvert the follow ... |
Topic: Application hangs |
sanddune008
Replies: 17
Views: 13771
|
Forum: General CCS C Discussion Posted: Mon Feb 23, 2009 1:08 am Subject: Application hangs |
Thanks Wayne_ and Ttelmah for your time..............
Things are working fine now......
Why does gets() function look for carriage return?...Generally it has to
look for a null (' \0 ') or new ... |
Topic: Application hangs |
sanddune008
Replies: 17
Views: 13771
|
Forum: General CCS C Discussion Posted: Wed Feb 18, 2009 5:52 am Subject: Application hangs |
#use rs232(baud=9600, xmit=PIN_B2, rcv=PIN_B1, ERRORS)
I am using following serial interrupt routine to get the data instead of using the timer mentioned above
#INT_RDA
void serial_isr ... |
Topic: Application hangs |
sanddune008
Replies: 17
Views: 13771
|
Forum: General CCS C Discussion Posted: Wed Feb 18, 2009 5:10 am Subject: Application hangs |
Thanks for time wayne.............
When interfaced to RS232 it hangs after sending the control commands( i am not using UART for this). ie the LED glows forever...and doesn't excute the led off l ... |
Topic: Application hangs |
sanddune008
Replies: 17
Views: 13771
|
Forum: General CCS C Discussion Posted: Wed Feb 18, 2009 4:27 am Subject: Application hangs |
thanks for your time......
Probably this can help you..........
#include <16F628A.h>
#include <string.h>
#fuses XT,NOWDT,NOPROTECT,NOLVP,NOCPD
#use delay(clock= ... |
Topic: Application hangs |
sanddune008
Replies: 17
Views: 13771
|
Forum: General CCS C Discussion Posted: Wed Feb 18, 2009 3:50 am Subject: Application hangs |
Thanks for your time...
Many problems ;)
COMMAND is not defined (You do not show this!)
Cmd is not defined (you do not show this!)
UartBuf is not defined (you do not show it)
RED_LED_ON and R ... |
Topic: Application hangs |
sanddune008
Replies: 17
Views: 13771
|
Forum: General CCS C Discussion Posted: Wed Feb 18, 2009 2:32 am Subject: Application hangs |
Hi All,
#include <16F628A.h>
#include <string.h>
#include "DoorBell.h"
#fuses XT,NOWDT,NOPROTECT,NOLVP,NOCPD
#use delay(clock=4000000)
#use fast_io ... |
Topic: Help need in implementation.... |
sanddune008
Replies: 9
Views: 13431
|
Forum: General CCS C Discussion Posted: Fri Nov 21, 2008 3:02 pm Subject: Help need in implementation.... |
Thanks RLScott for your time.............
Here is one way: Start 38kHz PWM at 50% duty cycle and set Timer 0 to interrupt you in approximately 12.5 PWM periods of time (328 uSec). When you get ... |
Topic: Help need in implementation.... |
sanddune008
Replies: 9
Views: 13431
|
Forum: General CCS C Discussion Posted: Fri Nov 21, 2008 7:50 am Subject: Help need in implementation.... |
Is there a way to find whether IR Led is working or not? |
Topic: Help need in implementation.... |
sanddune008
Replies: 9
Views: 13431
|
Forum: General CCS C Discussion Posted: Fri Nov 21, 2008 2:26 am Subject: Help need in implementation.... |
Thanks Rohit for your time...............
I am sorry......didn't put the entire code
I have connected an IR LED to the CCP1 pin(Pin B3) gate of FET .......Is this correct way? Can anyone give ... |
Topic: Help need in implementation.... |
sanddune008
Replies: 9
Views: 13431
|
Forum: General CCS C Discussion Posted: Thu Nov 20, 2008 8:52 am Subject: Help need in implementation.... |
could someone explain.................. |
|