Changeset 7 for ds1624

Show
Ignore:
Timestamp:
10/17/07 18:30:26 (15 months ago)
Author:
mlalondesvn
Message:

General:

MODIF - Moved all of the configurations out of the libraries and into the configs

Location:
ds1624
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • ds1624/ds1624.cpp

    r1 r7  
    33} 
    44 
    5 #include "../global.h" 
    65#include "ds1624.h" 
    76 
  • ds1624/ds1624.h

    r1 r7  
    22#define DS1624_H 
    33 
    4 // include types & constants of Wiring core API 
    5 #include <WConstants.h> 
    6 #include <inttypes.h> 
    7  
    8 // include types & constants of Wire ic2 lib 
    9 #include <Wire/Wire.h> 
    10  
    11 /** 
    12  * Comment this out if you don't want the  
    13  * init function to account for the ~1S startup 
    14  * delay for the first temperature sample! 
    15 **/ 
    16 #define DS1624_HANDLE_BOOT_DELAY 
    17  
    18 /** 
    19  * Address byte selection 
    20  * Select 0 for low and 1 for high 
    21 **/ 
    22 #define DS1624_A0           0 
    23 #define DS1624_A1           0 
    24 #define DS1624_A2           0 
     4#include "../global.h" 
     5#include "../configs/ds1624/ds1624.h" 
    256 
    267#define DS1624_BASE_ADDR    B01001000