Author |
Message |
Topic: Problem with Pcf8583-> month incorrect |
padron70
Replies: 6
Views: 8363
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2006 3:06 pm Subject: Problem with Pcf8583-> month incorrect |
Thank you, PCM .
I working...mask flag:1 (read date and month count directly) |
Topic: Problem with Pcf8583-> month incorrect |
padron70
Replies: 6
Views: 8363
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2006 2:56 pm Subject: Problem with Pcf8583-> month incorrect |
This is the initial configuration:
// configura calendario
write_pcf(0x00,0x00);//control status
write_pcf(0x02,bin2bcd(0x00));//segundos inicial
write_pcf(0 ... |
Topic: Problem with Pcf8583-> month incorrect |
padron70
Replies: 6
Views: 8363
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2006 2:20 pm Subject: Problem with Pcf8583-> month incorrect |
This is the code:
if (hora==1)//mostra a hora
{
dat1=read_pcf(0x02);
dat2=read_pcf(0x03);
dat3=read_pcf(0x04);
... |
Topic: Problem with Pcf8583-> month incorrect |
padron70
Replies: 6
Views: 8363
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2006 2:01 pm Subject: Problem with Pcf8583-> month incorrect |
I have a problem with the lecture of the month in the pcf8583:
dat2=read_pcf(0x03);
dat3=read_pcf(0x04);
dat4=read_pcf(0x05);
dat5=read_pcf(0x06);//month
i don ... |
Topic: Temperature with two ds1624 slaves |
padron70
Replies: 4
Views: 6405
|
Forum: General CCS C Discussion Posted: Mon Dec 26, 2005 4:04 pm Subject: Temperature with two ds1624 slaves |
I think that it's not necessary when having a single master.... |
Topic: Temperature with two ds1624 slaves |
padron70
Replies: 4
Views: 6405
|
Forum: General CCS C Discussion Posted: Mon Dec 26, 2005 2:49 pm Subject: Temperature with two ds1624 slaves |
In another post i've been able to solve the problem of the reading of a single ds1624 slave with 16f877 master using I2C, but now i want to read two temperatures with two connected ds1624 as slaves. I ... |
Topic: Read temperature maximum minimum ds1624 |
padron70
Replies: 5
Views: 7204
|
Forum: General CCS C Discussion Posted: Sun Dec 11, 2005 4:44 pm Subject: Read temperature maximum minimum ds1624 |
Thanks jds-pic, I have changed the function i2c_ds1624_leer_temp_c() since you have recommended and the results have been correct with the maximum and minimum temperatures perfectly shown.
The final ... |
|