Author |
Message |
Topic: PIC to PIC communication (wireless) |
olivier
Replies: 10
Views: 13365
|
Forum: General CCS C Discussion Posted: Wed Oct 26, 2011 6:34 pm Subject: this is very excellent info exchange |
Gabriel and Ali,
thank you very much for posting info. I am in the process of doing something similar to your and I don't know where to start. I bought an small RC plan other day and want to modify ... |
Topic: timer1 with interrupt |
olivier
Replies: 7
Views: 10106
|
Forum: General CCS C Discussion Posted: Wed Jun 08, 2011 8:45 pm Subject: timer1 with interrupt |
PCM PRogrammer,
Yes, my program is massive and not effective. as of right now, I am a very very very new and learn every line in coding so effectiveness isn't there at all. I do take your mocking ... |
Topic: timer1 with interrupt |
olivier
Replies: 7
Views: 10106
|
Forum: General CCS C Discussion Posted: Mon Jun 06, 2011 12:54 pm Subject: timer1 with interrupt |
#include <Delay Time Counter.h>
#include <Flex_LCD16x2.c>
#include <float.h>
#include <limits.h>
#include <locale.h>
#include <math.h>
#include <stdio. ... |
Topic: timer1 with interrupt |
olivier
Replies: 7
Views: 10106
|
Forum: General CCS C Discussion Posted: Fri Jun 03, 2011 1:10 pm Subject: timer1 with interrupt |
Hi everyone,
I need to built a timer that start to run on a push of a inputA(pin_a2) and stop time when inputB(pin_b0) pressed. I want to use pin_b0 on the External Interrupt that way I can free the ... |
Topic: I need help in coding |
olivier
Replies: 6
Views: 6618
|
Forum: General CCS C Discussion Posted: Fri Jun 03, 2011 10:59 am Subject: I need help in coding |
Hmmm - I missed that one - I would think the compiler *should* at least warn you about a mismatch between the prototype and the actual function.
mikey
the compiler told me that I can not use void ... |
Topic: I need help in coding |
olivier
Replies: 6
Views: 6618
|
Forum: General CCS C Discussion Posted: Fri May 27, 2011 9:28 am Subject: I need help in coding |
Well, one obvious thing that I see is your line:
executed_time = executed_time * (1/INTERNAL_FREQUENCY);
if "executed_time" starts as 0, then anything times 0 is still 0 --- perha ... |
Topic: I need help in coding |
olivier
Replies: 6
Views: 6618
|
Forum: General CCS C Discussion Posted: Fri May 27, 2011 8:04 am Subject: I need help in coding |
Hi everyone,
I am new in C programming and I need help in find out what wrong.
I have global variable executed_time and its updated after the function call, then printf. For some reason it keep ... |
Topic: error on my compiler 4.100 |
olivier
Replies: 3
Views: 4647
|
Forum: General CCS C Discussion Posted: Tue May 24, 2011 9:27 am Subject: error on my compiler 4.100 |
Although some CCS C versions tolerate it, the C standard (in contrast to C++) doesn't allow variable declarations in the middle of the code.
thank you for replying me back. I have a CCS compiler. a ... |
Topic: error on my compiler 4.100 |
olivier
Replies: 3
Views: 4647
|
Forum: General CCS C Discussion Posted: Tue May 24, 2011 8:37 am Subject: error on my compiler 4.100 |
Hi everyone,
I am a new C programmer and i write a simple code but already have problem.
the error message says that "Error 51, a numeric expression must be here".
this happen right at ... |
Topic: need help in set up timer0 |
olivier
Replies: 4
Views: 6878
|
Forum: General CCS C Discussion Posted: Thu Apr 15, 2010 1:47 pm Subject: need help in set up timer0 |
Why the compiler ask for close paren at line 33 and line 36 ?
It has to be a newbie error.
#include "C:\Microcontroller Firmware Center\Delay Time Counter\My Lab\main-18F4680.h"
#in ... |
Topic: need help in set up timer0 |
olivier
Replies: 4
Views: 6878
|
Forum: General CCS C Discussion Posted: Thu Apr 15, 2010 11:57 am Subject: need help in set up timer0 |
Hi everyone
I am new in C programming of PIC chip. I programmed pic chip in assembly before but now want to convert to C.
I have question on setup timer0 and run it as a timer with 16bit. How ca ... |
|