Author |
Message |
Topic: using the internal oscillator |
delphy_boy
Replies: 2
Views: 3903
|
Forum: General CCS C Discussion Posted: Sat Feb 21, 2009 2:29 am Subject: using the internal oscillator |
Thanks PCM programmer,
I will give this a try.
I did have the #use delay statement, i just didn't post it.
Also i have read a few other things that say the oscillator has to be set to the pri ... |
Topic: using the internal oscillator |
delphy_boy
Replies: 2
Views: 3903
|
Forum: General CCS C Discussion Posted: Fri Feb 20, 2009 11:56 am Subject: using the internal oscillator |
Hi,
I am using compiler V4.086 with a PIC18LF6722
I am trying to set the internal oscillator to give a 32MHz clock but am only getting 8MHz. I have tried various options using the built in func ... |
Topic: Setting timer 1 with #asm code |
delphy_boy
Replies: 5
Views: 6432
|
Forum: General CCS C Discussion Posted: Sat Oct 11, 2008 6:16 am Subject: Setting timer 1 with #asm code |
Thanks guys, i will give this a go.
Much appreciated |
Topic: Setting timer 1 with #asm code |
delphy_boy
Replies: 5
Views: 6432
|
Forum: General CCS C Discussion Posted: Sat Oct 11, 2008 3:35 am Subject: Setting timer 1 with #asm code |
Hi,
I am using a PIC18F6722 with compiler V4.008.
I am trying to use timer 1 to overflow at at half its normal count by preloading it with 0x8000 every time the timer 1 isr is triggered. So as ... |
Topic: Wake from sleep on RDA interrupt |
delphy_boy
Replies: 4
Views: 9139
|
Forum: General CCS C Discussion Posted: Thu Sep 25, 2008 8:07 am Subject: Wake from sleep on RDA interrupt |
Thanks Ttelmah, i will give this a try. |
Topic: Wake from sleep on RDA interrupt |
delphy_boy
Replies: 4
Views: 9139
|
Forum: General CCS C Discussion Posted: Thu Sep 25, 2008 2:23 am Subject: Wake from sleep on RDA interrupt |
How do you mean go to sleep in idle mode? Is that different from the built-in function "sleep()" that is available in the compiler? |
Topic: Wake from sleep on RDA interrupt |
delphy_boy
Replies: 4
Views: 9139
|
Forum: General CCS C Discussion Posted: Wed Sep 24, 2008 2:56 am Subject: Wake from sleep on RDA interrupt |
Hi,
I am using complier V4.008 and a PIC18F6722.
I am trying to get the PIC to wake from sleep on reception of a character in the UART buffer.
I have global and the rda interrupts enabled but ... |
Topic: I2C hardware module issue |
delphy_boy
Replies: 1
Views: 2857
|
Forum: General CCS C Discussion Posted: Mon Sep 15, 2008 4:29 am Subject: I2C hardware module issue |
Hi,
Does anyone know why my program hangs when using the I2C harware functions on a PIC18F6722?
When I try to do an I2C start the program just hangs.
Here is the code
#use delay(clock= ... |
|