Author |
Message |
Topic: Multiple DS18B20 in parasite Mode (finally working!!!) |
sebitnt
Replies: 17
Views: 71956
|
Forum: General CCS C Discussion Posted: Wed Mar 02, 2011 11:54 am Subject: Multiple DS18B20 in parasite Mode (finally working!!!) |
Can you post the latest code in the Code Library area? Thanks.
Uploaded as requested: http://www.ccsinfo.com/forum/viewtopic.php?p=144754 |
Topic: Multiple DS18B20 with parasite power |
sebitnt
Replies: 0
Views: 28998
|
Forum: Code Library Posted: Wed Mar 02, 2011 11:52 am Subject: Multiple DS18B20 with parasite power |
Discussion thread here:
#include <16F877A.H>
#fuses XT,NOWDT,NOLVP,PUT,NOPROTECT,NOBROWNOUT,NOWRT
//#use delay(clock = 20000000)
#use delay(clock = 4000000)
#use rs232& ... |
Topic: Multiple DS18B20 in parasite Mode (finally working!!!) |
sebitnt
Replies: 17
Views: 71956
|
Forum: General CCS C Discussion Posted: Mon Dec 06, 2010 1:46 pm Subject: Multiple DS18B20 in parasite Mode (finally working!!!) |
Here is the code: http://rapidshare.com/files/435116217/ds18b20.rar
Take attention to negative Temperatures!!! Maybe that these will not be calculated as expected. The code is not perfect, but a b ... |
Topic: Multiple DS18B20 in parasite Mode (finally working!!!) |
sebitnt
Replies: 17
Views: 71956
|
Forum: General CCS C Discussion Posted: Sun Dec 05, 2010 7:52 am Subject: Multiple DS18B20 in parasite Mode (finally working!!!) |
Thank you for your fast reply! I changed the variables declaration in a way, that they are declared at the beginning of main{} (learning JAVA at the moment ). I'd also change the table for th ... |
Topic: Multiple DS18B20 in parasite Mode (finally working!!!) |
sebitnt
Replies: 17
Views: 71956
|
Forum: General CCS C Discussion Posted: Sun Dec 05, 2010 2:39 am Subject: Multiple DS18B20 in parasite Mode (finally working!!!) |
Hi everybody,
Since a few days I'm trying to get some DS18B20 working in parasite mode on my 16F877. Meanwhile it is working so far. The only thing that won't work is when I put more than 8 sensors ... |
|