Search found 7 matches

by Arouca
11 Aug 2010 14:35
Forum: mikroC General
Topic: RTC PCF 8583 error time with PIC 18f452
Replies: 10
Views: 4159

Re: RTC PCF 8583 error time with PIC 18f452

Dear Sobrietytest, thank you again and again.
You are being very gently.
As soon as i make the changes i will say something.
Thank you
by Arouca
10 Aug 2010 23:00
Forum: mikroC General
Topic: RTC PCF 8583 error time with PIC 18f452
Replies: 10
Views: 4159

Re: RTC PCF 8583 error time with PIC 18f452

Dear all, I'm back again.
As i'm not a programing expertise, i simple didn't manage to apply the Sobrietytest suggestions (declared all the variables as their correct size rather than using pointers).
Could someone give me an example of out to do it?
by Arouca
01 Aug 2010 16:54
Forum: mikroC General
Topic: RTC PCF 8583 error time with PIC 18f452
Replies: 10
Views: 4159

Re: RTC PCF 8583 error time with PIC 18f452

Dear Sobrietytest.
Thank you for your suggestion. It makes sense...
I will try know to use no more pointers and use the fixed variables.
It will be the first time so i have to read a little bit.
Any help about how to change the code will be great.

Thank you very much
by Arouca
31 Jul 2010 00:00
Forum: mikroC General
Topic: RTC PCF 8583 error time with PIC 18f452
Replies: 10
Views: 4159

Re: RTC PCF 8583 error time with PIC 18f452

Dear tihomir: I have checked the files you sent. your suggestion is (if i'm not wrog) to use the I2C communication library by connecing the PCF8583 directly to the PORTC (RC3 and RC4)... Right? Unfurtunatelly i cannot do that, because i'm using PORTC to control a SD/MMC card. So i only can control t...
by Arouca
21 Jul 2010 18:58
Forum: mikroC General
Topic: RTC PCF 8583 error time with PIC 18f452
Replies: 10
Views: 4159

Re: RTC PCF 8583 error time with PIC 18f452

Dear Tihomir:

Thank you very much for you help.

Tomorrow i will try to do that.

I will say something as soon as i try..

Thank you
by Arouca
21 Jul 2010 11:59
Forum: mikroC General
Topic: RTC PCF 8583 error time with PIC 18f452
Replies: 10
Views: 4159

Re: RTC PCF 8583 error time with PIC 18f452

Thank you blips, here goes some code: If i use like this, everithing is working: char *texto1 = "Distanci1"; char *texto2 = "Distanci2"; char txt1[6]; int value_channel_1, value_channel_2, contador,teste; int num; char filename[14] = "TESTE00xTXT"; // File names char a_la_ligne[]={0x0D,0x0A}; char t...
by Arouca
21 Jul 2010 00:46
Forum: mikroC General
Topic: RTC PCF 8583 error time with PIC 18f452
Replies: 10
Views: 4159

RTC PCF 8583 error time with PIC 18f452

Hi. I'm trying to use a Pic18f452 with an RTC PCF8583 (using I2C library) and an LCD. The idea is to use several ADC pins and display the time and ADC value on the LCD. Everithing seem when I use only one ADC pin. I can see the data and time on my LCD and I see the correct analog value from the ADC ...

Go to advanced search