Author |
Message |
Topic: problem with chronometer |
bonbino
Replies: 9
Views: 10355
|
Forum: General CCS C Discussion Posted: Sat Jul 12, 2008 4:36 pm Subject: problem with chronometer |
Also, note the big error in the 'sender'. INT_RDA is enabled, but no handler is shown. You must _never_ enable an interrupt without a handler. Sure way to hang the processor.
Best Wishes
can you ... |
Topic: problem with chronometer |
bonbino
Replies: 9
Views: 10355
|
Forum: General CCS C Discussion Posted: Wed Jul 09, 2008 9:38 am Subject: problem with chronometer |
I have this idea before, so I put Chrono=1 the clock works very well, and I wanted to know if I receive the data'70' on the other side with another port, and it gave a good result. Maybe you have anot ... |
Topic: problem with chronometer |
bonbino
Replies: 9
Views: 10355
|
Forum: General CCS C Discussion Posted: Mon Jul 07, 2008 6:16 am Subject: problem with chronometer |
If that is what you do, then why does the code you posted say:
Printf(“70”);
?
Are there any other areas of your code where it is not really as you posted it?
I tried to minimize the ... |
Topic: problem with chronometer |
bonbino
Replies: 9
Views: 10355
|
Forum: General CCS C Discussion Posted: Fri Jul 04, 2008 3:33 am Subject: problem with chronometer |
the problem is not in printf ( "70"), actually I do:
...
...
int CarSend;
...
...
CarSend=70;
printf("%c",CarSend);
With the simulation I found that it very well receiv ... |
Topic: problem with chronometer |
bonbino
Replies: 9
Views: 10355
|
Forum: General CCS C Discussion Posted: Tue Jul 01, 2008 7:00 am Subject: problem with chronometer |
I want to trigger the counter of a timer to a PIC by another, by a RS232.
I declared a global variable (Chrono), used by the interruption of the timer to see if we increment the counter or not, and ... |
|