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 support@ccsinfo.com

Please help

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



Joined: 17 Aug 2011
Posts: 1
Location: SOUTH AFRICA

View user's profile Send private message

Please help
PostPosted: Wed Aug 17, 2011 4:58 am     Reply with quote

Embarassed Hi I am having a problem of copying the DS1820 temperature sensor drivers to my CCS software and have it active on the driver selection window when I create the project.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Wed Aug 17, 2011 4:53 pm     Reply with quote

I'm not sure what you mean. Do you mean you want to copy the files
in this ds18b20 thread into your CCS project ?
http://www.ccsinfo.com/forum/viewtopic.php?t=28425

If you have never used the CCS compiler before, and you have never
even made a "blinking led" program, or a "Hello World" rs-232 program
before, then you need to do that first. Don't immediately start an
intermediate level project such as a temperature sensor. Learn how to
do the basic things first.

Anyway, to answer your question:

First, save each driver section of the ds1820 code in that link as a
separate file, using his suggested filenames:

1wire.c
ds1820.c

Put these two files in your project directory.

Then save the main program in that post with some suitable name
such as ds1820_Test.c, and also put it in your project directory.
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