Author |
Message |
Topic: Sony IR remote control problem |
ragipselcuk
Replies: 11
Views: 12701
|
Forum: General CCS C Discussion Posted: Sat Aug 30, 2008 12:06 am Subject: Sony IR remote control problem |
Dear PCM Programmer,
Yes, when I found the this code, it doesn't run for pic16f877 but I changed the some routines and it works fine. You are all right. Time never exceed the MAX_TIME. But I cant ... |
Topic: Sony IR remote control problem |
ragipselcuk
Replies: 11
Views: 12701
|
Forum: General CCS C Discussion Posted: Fri Aug 29, 2008 11:16 pm Subject: Sony IR remote control problem |
Yes,I calculated for 40Mhz but it still doesn't run.
setup_counters( RTCC_INTERNAL, RTCC_DIV_256) //for 40Mhz
set_rtcc(96); // offset value is 96 for 40Mhz
:cr ... |
Topic: Sony IR remote control problem |
ragipselcuk
Replies: 11
Views: 12701
|
Forum: General CCS C Discussion Posted: Fri Aug 29, 2008 2:45 pm Subject: Sony IR remote control problem |
I mean that is doesnt run for 18f452 at 40Mhz. It is running 16f877 at 4Mhz and it is running 18f452 at 4Mhz.
I am sorry for my english. |
Topic: Sony IR remote control problem |
ragipselcuk
Replies: 11
Views: 12701
|
Forum: General CCS C Discussion Posted: Fri Aug 29, 2008 2:31 pm Subject: Sony |
I converted my code with ccs functions.But it is not burning
#include<18F452.h>
#use delay(clock=40000000)
#fuses NOWDT,H4, PROTECT, NOOSCSEN, BROWNOUT, BORV20, PUT, STVRE ... |
Topic: Sony IR remote control problem |
ragipselcuk
Replies: 11
Views: 12701
|
Forum: General CCS C Discussion Posted: Fri Aug 29, 2008 1:46 pm Subject: Sony IR remote control problem |
I wrote a code sony remote receiver for PIC16F877 at 4Mhz. This code is successful. But I must use PIC18F452. I convert timer values for 40Mhz, but source code doesnt burn. Where is my mistake? I give ... |
Topic: 1mv resolution 8-bit adc |
ragipselcuk
Replies: 8
Views: 7226
|
Forum: General CCS C Discussion Posted: Tue Apr 22, 2008 5:20 am Subject: 1mv resolution 8-bit adc |
The card hasn't got a amplifier, serial resistor only connected with analog inputs...circuit is very simpler...
Thanks... |
Topic: 1mv resolution 8-bit adc |
ragipselcuk
Replies: 8
Views: 7226
|
Forum: General CCS C Discussion Posted: Mon Apr 21, 2008 11:35 pm Subject: 1mv resolution 8-bit adc |
I have got a card. Somebody designed this card and card has got AN0,AN1,AN2 and AN2=AN3=Vref. Used pic16F72. It works 1mV resolution, I can't make that so I asked this question.
I added three pots ... |
Topic: 1mv resolution 8-bit adc |
ragipselcuk
Replies: 8
Views: 7226
|
Forum: General CCS C Discussion Posted: Mon Apr 21, 2008 7:23 am Subject: 1mv resolution 8-bit adc |
I want to calculate 1mv sensitivity for 8-bit adc.but I cant do it.
please, help me!
counter=0;
do {
delay_us(10);
ADGODONE = 1;
while(ADGODONE);
aDeger =make16 ... |
|