| Line No. | Rev | Author | Line |
|---|---|---|---|
| 1 | 6 | kaklik | /*! \file dallasconf.h \brief Dallas 1-Wire Bus Library Configuration. */ |
| 2 | //***************************************************************************** |
||
| 3 | // |
||
| 4 | // File Name : 'dallasconf.h' |
||
| 5 | // Title : Dallas 1-Wire Bus Library Configuration |
||
| 6 | // Author : Pascal Stang - Copyright (C) 2004 |
||
| 7 | // Created : 2004.09.10 |
||
| 8 | // Revised : 2004.10.10 |
||
| 9 | // Version : 0.1 |
||
| 10 | // Target MCU : Atmel AVR series |
||
| 11 | // Editor Tabs : 4 |
||
| 12 | // |
||
| 13 | // This code is distributed under the GNU Public License |
||
| 14 | // which can be found at http://www.gnu.org/licenses/gpl.txt |
||
| 15 | // |
||
| 16 | //***************************************************************************** |
||
| 17 | |||
| 18 | #ifndef DALLASCONF_H |
||
| 19 | #define DALLASCONF_H |
||
| 20 | |||
| 21 | // Select which general-purpose I/O pin |
||
| 22 | // will be used for driving the dallas bus |
||
| 23 | #define DALLAS_PORT PORTE // the output port |
||
| 24 | #define DALLAS_DDR DDRE // the DDR port |
||
| 25 | #define DALLAS_PORTIN PINE // the input port |
||
| 26 | #define DALLAS_PIN 7 // the pin number [0-7] |
||
| 27 | |||
| 28 | // Define the max number of Dallas devices which |
||
| 29 | // can be automatically discovered on the bus |
||
| 30 | #define DALLAS_MAX_DEVICES 20 |
||
| 31 | |||
| 32 | #endif |
Powered by WebSVN v2.8.3