Menu

How I can use the DS18s20.h

Help
2008-06-02
2013-05-30
  • Nobody/Anonymous

    Please, any help for using the DS18s20.h, Thanks....!!!!

     
    • kent_twt4

      kent_twt4 - 2008-06-02

      Having probllems using the example, or how to use the header file?  If its a code/device problem then show us what you've got.  If its the header/library file, then here's a copy of a previous post:

      In order to use these library's you need to:
      1) Copy an include file, being sure it has the XXX.h extension, from the include folder of the GCBasic directory.
      2) Go back one level to the GCBasic directory, and then paste that file into the include folder.
      3) Rename the copyXXX.h file to the aprropriate I2C header file, say MasterI2C.h in the case of the hardware library.
      4) Delete the contents of the new file, and then copy in the header file from the contributors section.
      4) Next, use the #include <MasterI2C.h> directive and be sure that the proper initialization of the I2C clock, Port pins, etc. are set for your device and oscillator speed. This may be done on the program or the header file side, as long as it gets done is the important part.
      5) Try one of the examples provided.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.