Author |
Message |
Topic: Problem with serial communication |
ariza
Replies: 2
Views: 6633
|
Forum: General CCS C Discussion Posted: Tue Mar 14, 2006 10:48 am Subject: Problem with serial communication |
I solved my problem with serial communications.The answer was the bit numbers.
THANX A LOT |
Topic: Problem with serial communication |
ariza
Replies: 2
Views: 6633
|
Forum: General CCS C Discussion Posted: Tue Mar 14, 2006 10:26 am Subject: Problem with serial communication |
Hi everybody;
I am trying to send data from pic16f877 to pc by using rs232.I use hyper terminal.I can send data but there is always a delay.After oppening any file on my desktop i see the data.Data ... |
Topic: set_timer0() |
ariza
Replies: 2
Views: 10268
|
Forum: General CCS C Discussion Posted: Sun Jun 26, 2005 5:22 am Subject: set_timer0() |
Hi all
I want to learn that is it possible to set set_timer0(); function as in the code
int8 count=0;
int8 const x3[]={0,1,2,4,6};
int8 data;
void choose() ... |
Topic: create a file in CF memory card |
ariza
Replies: 4
Views: 7042
|
Forum: General CCS C Discussion Posted: Sat Jun 18, 2005 11:45 pm Subject: create a file in CF memory card |
Hi
I really need to create files so I think that file helps me alot . Can you send them to me ?
Send your mail address from pm under my nick. |
Topic: create a file in CF memory card |
ariza
Replies: 4
Views: 7042
|
Forum: General CCS C Discussion Posted: Sat Jun 18, 2005 7:52 am Subject: create a file in CF memory card |
Hi all
I am working on a project about writing data to Compact Flash Memory card. Iwant to create a .txt or .csv file in memory card but I could not find any C function like "fopen." How can I do ... |
Topic: PIN_B5 problem |
ariza
Replies: 1
Views: 4971
|
Forum: General CCS C Discussion Posted: Sat Jun 11, 2005 2:12 pm Subject: PIN_B5 problem |
Hi
In my project I have an interface between 74ls90 (counter) and 18f452.
I obtain a value with using 74ls90 nad then using 18f452's ext interrupt routine to take the value of counter. From B4- ... |
Topic: disable interrupts |
ariza
Replies: 7
Views: 12901
|
Forum: General CCS C Discussion Posted: Tue Apr 26, 2005 8:04 am Subject: disable interrupts |
Hi
Unless you ae using the timer elsewhere, why not leave it programmed to the clock rate you require outside the interrupt. So the 'setup_timer_0' routine, could be in the main. This saves a fe ... |
Topic: disable interrupts |
ariza
Replies: 7
Views: 12901
|
Forum: General CCS C Discussion Posted: Sun Apr 24, 2005 9:16 am Subject: disable interrupts |
hi all
If I have infinite loop inside Interrupt routine Forexample: an analog to digital conversion (a infinite loop). #int_TIMER0
TIMER0_isr()
{
do {
for( ... |
Topic: disable interrupts |
ariza
Replies: 7
Views: 12901
|
Forum: General CCS C Discussion Posted: Fri Apr 22, 2005 5:02 am Subject: disable interrupts |
Hi
How can I use clear_interrupt()? because I could not find anything CCS Help. Can you recommend other methods to prevent it?
Thanks for your help
BEST REGARDS
ARIZA |
Topic: disable interrupts |
ariza
Replies: 7
Views: 12901
|
Forum: General CCS C Discussion Posted: Thu Apr 21, 2005 5:11 pm Subject: disable interrupts |
Hi all
In my project I use 18f452 and its three external interrupts with three buttons(using debounce circuit).In ext interrupt routine I enable/disable other two external interrupts. Something li ... |
Topic: start/stop interrupt rountine |
ariza
Replies: 4
Views: 6923
|
Forum: General CCS C Discussion Posted: Tue Mar 22, 2005 4:04 pm Subject: start/stop interrupt rountine |
Hi all..
A correction : in notes part
in ext1 i set sample rate
thanks
Emrah |
Topic: start/stop interrupt rountine |
ariza
Replies: 4
Views: 6923
|
Forum: General CCS C Discussion Posted: Tue Mar 22, 2005 3:51 pm Subject: start/stop interrupt rountine |
Hi all.
I am having some serious trouble with a very simple problem abut using interrupts.
In my program I use ext,ext1,ext2,timer0 interrupts and i want to enable and disable interrupts with ext ... |
Topic: count using interrupt routine |
ariza
Replies: 5
Views: 10629
|
Forum: General CCS C Discussion Posted: Sat Mar 19, 2005 4:29 am Subject: count using interrupt routine |
Thanks your help but i still could't solve my problem. When i did what Ttelmah recommended , after 5 seconds later from first push ,it accepts the new push and increase the value of x. : confused:
[ ... |
Topic: count using interrupt routine |
ariza
Replies: 5
Views: 10629
|
Forum: General CCS C Discussion Posted: Sat Mar 19, 2005 3:10 am Subject: count using interrupt routine |
Hi,
Sorry a small mistake, the true code is here. When i test this code it only counts one time and i obserce 00000001 in PORTC
[code]#int_EXT1 NOCLEAR
EXT1_isr()
{
x=x+1;disable_ ... |
Topic: count using interrupt routine |
ariza
Replies: 5
Views: 10629
|
Forum: General CCS C Discussion Posted: Sat Mar 19, 2005 2:48 am Subject: count using interrupt routine |
Hi all
I have a simple but very important problem in my project. I need to count the push button number in external1(B1) interrupt routine in 18f452 I think i am doing something wrong but i couldn ... |
|