Author |
Message |
Topic: RFM12B nIRQ pin |
picpgm
Replies: 38
Views: 110629
|
Forum: General CCS C Discussion Posted: Sat Nov 12, 2011 10:18 am Subject: RFM12 driver for CCS C compiler |
Hello together,
here a RFM12 driver for CCS C compiler:
http://www.picprojects.net/rfm12/index.html
Have fun! |
Topic: PIC RC5 Code |
picpgm
Replies: 23
Views: 67307
|
Forum: General CCS C Discussion Posted: Sat Oct 15, 2011 1:17 am Subject: PIC RC5 Code |
From code point of view it looks ok. Could you post a schematic of your hardware?
You can also try to increase the range of a valid bit time. To do that, update the following lines in the driver co ... |
Topic: PIC RC5 Code |
picpgm
Replies: 23
Views: 67307
|
Forum: General CCS C Discussion Posted: Mon Oct 10, 2011 10:40 am Subject: PIC RC5 Code |
Have you also removed the following code pieces?
/*****************************************************************************/
/* Interrupt_TIMER0 ... |
Topic: PIC RC5 Code |
picpgm
Replies: 23
Views: 67307
|
Forum: General CCS C Discussion Posted: Sun Oct 09, 2011 1:35 pm Subject: PIC RC5 Code |
Your problem is that you restart the timer to get an interrupt every 26us. But the algorithm needs a free running timer! I.e. it needs to start with 0 and overflow after reaching 0xFF.
This is becaus ... |
Topic: PIC RC5 Code |
picpgm
Replies: 23
Views: 67307
|
Forum: General CCS C Discussion Posted: Sun Oct 09, 2011 10:32 am Subject: PIC RC5 Code |
Hi,
is the Port-Change interrupt working properly? I.e. is the LED toggling if you press a button on your IR remote control?
Does your remote control send RC5 code? |
Topic: PIC RC5 Code |
picpgm
Replies: 23
Views: 67307
|
Forum: General CCS C Discussion Posted: Wed Jul 27, 2011 3:01 pm Subject: PIC RC5 Code |
Hi,
I have written a RC5 decoder driver which can be compiled with the CCS C compiler.
You can download it here:
http://members.aon.at/electronics/pic/projects/rc5_decoder/index.html |
|