Author |
Message |
Topic: 18F65j50 USB |
peterl
Replies: 6
Views: 8094
|
Forum: General CCS C Discussion Posted: Sat Aug 06, 2011 4:19 am Subject: RE: |
Now it work Thank you very much! |
Topic: 18F65j50 USB |
peterl
Replies: 6
Views: 8094
|
Forum: General CCS C Discussion Posted: Fri Aug 05, 2011 11:58 pm Subject: RE: |
Now interval is ~12 sec, PLL still not working.
C code:
#include "18F65J50.h"
#FUSES H4_SW
#FUSES NOWDT
#use delay(clock=48M) ... |
Topic: 18F65j50 USB |
peterl
Replies: 6
Views: 8094
|
Forum: General CCS C Discussion Posted: Fri Aug 05, 2011 2:21 pm Subject: RE: |
My compiler version is 4.084. I reduced code to this:
#include "18F65J50.h"
#FUSES H4_SW
#FUSES NOCPUDIV
#FUSES PLL1
# ... |
Topic: 18F65j50 USB |
peterl
Replies: 6
Views: 8094
|
Forum: General CCS C Discussion Posted: Fri Aug 05, 2011 12:49 pm Subject: 18F65j50 USB |
Hi guys,
I am trying to make PC <> PIC communication with 18F65j50, but I can't set right frequency - 48MHz. The crystal wich is connected between RA6 and RA7 is 4MHZ. This is my code:
#incl ... |
Topic: 18F2525 ADC problem |
peterl
Replies: 2
Views: 5827
|
Forum: General CCS C Discussion Posted: Tue Jun 08, 2010 1:12 am Subject: re: PIC18F2525 ADC |
The problem was here:
set_adc_channel(AN0); is not correct, correct is set_adc_channel(0);
10X |
Topic: 18F2525 ADC problem |
peterl
Replies: 2
Views: 5827
|
Forum: General CCS C Discussion Posted: Mon Jun 07, 2010 5:02 am Subject: 18F2525 ADC problem |
Hi guys,
I am trying to do ADC with this microcontroller: 18F2525 and my code:
#include <18F2525.h>
#device adc=10
#FUSES NOWDT //No Watch Dog Timer
#FUSES WDT128 ... |
Topic: 12f675 high consumption 7.5ma |
peterl
Replies: 5
Views: 7187
|
Forum: General CCS C Discussion Posted: Wed Apr 14, 2010 12:05 pm Subject: 12f675 high consumption 7.5ma |
I changed my PIC with 12F629 and now consumption is lower than 0.6ma
Thanks everybody again!
p.s.I reduced the voltage from 5V to 3.3V,which also had a significant impact |
Topic: 12f675 high consumption 7.5ma |
peterl
Replies: 5
Views: 7187
|
Forum: General CCS C Discussion Posted: Sun Apr 11, 2010 3:35 am Subject: 12f675-consumption |
I rewrote the program
#include <12F675.h>
#device adc=8
#FUSES NOWDT
#FUSES INTRC_IO
#FUSES NOCPD
#FUSES NOPROTECT ... |
Topic: 12f675 high consumption 7.5ma |
peterl
Replies: 5
Views: 7187
|
Forum: General CCS C Discussion Posted: Sat Apr 10, 2010 10:22 am Subject: 12f675 high consumption 7.5ma |
Hi,
I have a problem with this microcontroller 12f675. I think there is an unusually high consumption - 7.5ma. In datasheet is wrote 1.4ma at 5V and 4MHZ. This is my program:
#include <12F675.h ... |
Topic: Simulation of DS18S20 on Proteus |
peterl
Replies: 3
Views: 9321
|
Forum: General CCS C Discussion Posted: Sun Feb 21, 2010 6:32 am Subject: DS18S20 |
It's work
p.s.The problem was in LCD in my scheme.It's not displayed correctly. |
Topic: Simulation of DS18S20 on Proteus |
peterl
Replies: 3
Views: 9321
|
Forum: General CCS C Discussion Posted: Thu Feb 18, 2010 1:53 pm Subject: Simulation of DS18S20 on Proteus |
Hi boys,
I have problem with the simulation of DS18S20 on proteus V7.5 SP3. Have you ever used a simulation of ds18s20? I use PIC C compiler 4.084.
Thanks |
Topic: PIC16F88 UART |
peterl
Replies: 12
Views: 14448
|
Forum: General CCS C Discussion Posted: Fri Dec 25, 2009 3:53 am Subject: PIC16F88 UART |
Hi,
I have a problem with configuration of UART on pic16f88. This is my code:
#include <16F88.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES XT ... |
Topic: 12F675 configure ports |
peterl
Replies: 1
Views: 2898
|
Forum: General CCS C Discussion Posted: Fri Oct 09, 2009 2:28 pm Subject: 12F675 configure ports |
hi guys,
I use PIC-C compiler version 4.074. I want to make PIN_A0, PIN_A2 as input and PIN_A1 as output. To enable PULLUPS resistor of PIN_A0, PIN_A2, I wrote this :
#include "D:\Dimer ... |
|