CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

more then one ds1820

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Markdem



Joined: 24 Jun 2005
Posts: 206

View user's profile Send private message Send e-mail

more then one ds1820
PostPosted: Tue Feb 21, 2006 7:14 pm     Reply with quote

Hi All, i ned to use two DS1820 temp probes, but i cant have them on the same bus. I need to know which temp i am getting without knowing the serial numbers of the device. I just need to put them on diffrent output pins. The only issue i have is i am not too sure how to do this. I need to change the #define line inside the program, depending on which reading i need. Any ideads how i can do this. the driver code i am using is the one out of the code section at http://www.ccsinfo.com/forum/viewtopic.php?t=19740&highlight=ds1820

Thanks, Mark[/code]
John Morley



Joined: 09 Aug 2004
Posts: 97

View user's profile Send private message

PostPosted: Tue Feb 21, 2006 9:31 pm     Reply with quote

Hi,

This code http://www.phanderson.com/PIC/PICC/CCS_PCM/ds1820.html may be better suited to your application because it is written for multiple DS1820 sensors on separate I/O pins. I have used it many times, so I know it works!

John
_________________
John Morley
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group