Author |
Message |
Topic: TIMER3 issues |
bennisx
Replies: 2
Views: 3738
|
Forum: General CCS C Discussion Posted: Fri Jul 23, 2010 10:14 am Subject: TIMER3 issues |
Hi,
I need to configure TMR3L and TMR3H with 0xCF2C but it seems like this piece of code is not doing it. I also tried to use Assembly for the same reason but I can get this configured it always show ... |
Topic: void function pointer |
bennisx
Replies: 5
Views: 9817
|
Forum: General CCS C Discussion Posted: Tue Jul 06, 2010 12:14 pm Subject: void function pointer |
Agree.
Tried PCM programmers test code, in a hardware ICE, and it reports the pointer as a two byte value, and it works.
Are you sure that it is not just a case of needing to explicitly tell the deb ... |
Topic: void function pointer |
bennisx
Replies: 5
Views: 9817
|
Forum: General CCS C Discussion Posted: Mon Jul 05, 2010 2:07 am Subject: void function pointer |
Post your PIC and compiler version.
My PIC is the 18F4580 and my compiler ver is 4.104
Thank you |
Topic: void function pointer |
bennisx
Replies: 5
Views: 9817
|
Forum: General CCS C Discussion Posted: Mon Jul 05, 2010 12:47 am Subject: void function pointer |
Hi everybody,
I am using the folowing code to pass the address of the next function to be executed.
typedef void (*fn)();
void green()
{
output_bit(pin_green, ... |
|