PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Wed Aug 17, 2011 4:53 pm |
|
|
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. |
|