Rev 801 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 801 | Rev 804 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 |
|
1 | ## module sns_ds18x20 |
| 2 | # All parameters required by library code should be defined here |
- | |
| 3 | 2 | ||
| 4 | # Temperature sensor IDs, 6 bits |
- | |
| 5 | TEMPSENSORID_1=0x01 |
- | |
| 6 | TEMPSENSORID_2=0x02 |
- | |
| 7 | TEMPSENSORID_3=0x03 |
- | |
| 8 | TEMPSENSORID_4=0x04 |
- | |
| 9 | TEMPSENSORID_5=0x05 |
- | |
| 10 | - | ||
| 11 |
|
3 | sns_ds18x20_ID=<ID> |
| 12 | - | ||
| 13 |
|
4 | sns_ds18x20_TIMER=<TIMER> |
| 14 | #USE_TC1047=1 |
- | |
| 15 | #USE_LDR=1 |
- | |
| 16 | ADCHAN=5 |
- | |
| 17 | - | ||
| 18 |
|
5 | sns_ds18x20_SEND_PERIOD=20000 |
| 19 |
|
6 | sns_ds18x20_SEND_DELAY=500 |
| 20 | TC_SEND_PERIOD=10000 |
- | |
| 21 |
|
7 | sns_ds18x20_SEARCH_TIMEOUT=5 |
| 22 | 8 | ||
| 23 | #OW_PIN=PD6 |
9 | #OW_PIN=PD6 |
| 24 | #OW_IN=PIND |
10 | #OW_IN=PIND |
| 25 | #OW_OUT=PORTD |
11 | #OW_OUT=PORTD |
| 26 | #OW_DDR=DDRD |
12 | #OW_DDR=DDRD |
| - | 13 | ||
| - | 14 | ## end module |
|