Author |
Message |
Topic: Pic18f2520 INTRC setting |
pisti66
Replies: 4
Views: 9456
|
Forum: General CCS C Discussion Posted: Fri May 11, 2012 4:01 am Subject: Pic18f2520 INTRC setting |
Hello,
My compiler version is 4.130 .
I removed the setup_oscillator function and changed the "#use delay" line to the suggested, and it works.
Many thanks.
Regards, István |
Topic: Pic18f2520 INTRC setting |
pisti66
Replies: 4
Views: 9456
|
Forum: General CCS C Discussion Posted: Fri May 11, 2012 2:17 am Subject: Pic18f2520 INTRC setting |
Hello,
You are right. I counted the jump only with 1 instruction cycle.
Anyway, the chip operates at 8 MHz.
Regards, István |
Topic: Pic18f2520 INTRC setting |
pisti66
Replies: 4
Views: 9456
|
Forum: General CCS C Discussion Posted: Thu May 10, 2012 7:46 am Subject: Pic18f2520 INTRC setting |
Hello,
I would like to use the internal oscillator of the chip running at 32 MHz.
I wasn't able to set it.
Here is my code:
#include <18F2520.h>
#device HIGH_INTS=TRUE adc=8
//#FUS ... |
Topic: PWM doesn't works on pic18f1330 |
pisti66
Replies: 10
Views: 12628
|
Forum: General CCS C Discussion Posted: Sat Jun 04, 2011 2:25 am Subject: PWM doesn't works on pic18f1330 |
Hi,
Many thanks boys. It works with minor changes.
I changed the "PWM_ODD_ON" to "PWM_BOTH_ON", and it works.
The problem was the terminology.
The PWM0 is odd for me, because ... |
Topic: PWM doesn't works on pic18f1330 |
pisti66
Replies: 10
Views: 12628
|
Forum: General CCS C Discussion Posted: Fri Jun 03, 2011 1:51 pm Subject: PWM doesn't works on pic18f1330 |
Hi,
I use the version 4.120.
I changed the fuse to NOXINST, but there is no improvement.
Regards |
Topic: PWM doesn't works on pic18f1330 |
pisti66
Replies: 10
Views: 12628
|
Forum: General CCS C Discussion Posted: Fri Jun 03, 2011 12:33 pm Subject: PWM doesn't works on pic18f1330 |
Hi,
I tried with fixed numbers, but it doesn't worked.
I need a working example on this pic.
Regards. |
Topic: PWM doesn't works on pic18f1330 |
pisti66
Replies: 10
Views: 12628
|
Forum: General CCS C Discussion Posted: Fri Jun 03, 2011 4:37 am Subject: PWM doesn't works on pic18f1330 |
Hi There,
I want to use the PWM outputs of the pic18f1330 to drive a RGB lighting.
I think the electrical switching is OK, because I can turn on/off the leds, when the output pins are configured f ... |
|