![]() |
LightHub
|
#include <DallasTemperature.h>#include "aJSON.h"#include <Wire.h>#include <DS2482_OneWire.h>

Go to the source code of this file.
Macros | |
| #define | SW_AUX0 0x40 |
| #define | SW_AUX1 0x80 |
| #define | SW_STAT0 0x4 |
| #define | SW_STAT1 0x8 |
| #define | SW_OUT0 0x20 |
| #define | SW_OUT1 0x10 |
| #define | SW_MASK 0xF |
| #define | SW_INMASK 0xFC |
| #define | recheck_interval 5 |
| #define | check_circle 2000/t_count |
| #define | SW_FIND 1 |
| #define | SW_DOUBLECHECK 2 |
| #define | SW_PULSE0 4 |
| #define | SW_PULSE1 8 |
| #define | SW_PULSE_P0 0x10 |
| #define | SW_PULSE_P1 0x20 |
| #define | SW_CHANGED_P0 0x40 |
| #define | SW_CHANGED_P1 0x80 |
| #define | SW_PULSE0_R 0x100 |
| #define | SW_PULSE1_R 0x200 |
| #define | recheck_interval 5 |
| #define | check_circle 2000/t_count |
| #define | t_max 20 |
| #define | TEMPERATURE_PRECISION 12 |
| #define | DS2482_100_I2C_TO_1W_BRIDGE |
Typedefs | |
| typedef void(* | owChangedType) (int, DeviceAddress, float) |
Functions | |
| int | owUpdate () |
| int | owSetup (owChangedType owCh) |
| void | owLoop () |
| void | setupOwIdle (void(*)()) |
| int | owFind (DeviceAddress addr) |
| void | owAdd (DeviceAddress addr) |
Variables | |
| aJsonObject * | owArr |
| OneWire * | oneWire |
| DallasTemperature * | sensors |
| DeviceAddress * | term |
| int * | regs |
| uint16_t * | wstat |
| int | t_count |
| short | si |
| owChangedType | owChanged |
| #define check_circle 2000/t_count |
| #define check_circle 2000/t_count |
| #define DS2482_100_I2C_TO_1W_BRIDGE |
| #define recheck_interval 5 |
| #define recheck_interval 5 |
| #define SW_AUX0 0x40 |
| #define SW_AUX1 0x80 |
| #define SW_CHANGED_P0 0x40 |
| #define SW_CHANGED_P1 0x80 |
| #define SW_DOUBLECHECK 2 |
| #define SW_FIND 1 |
| #define SW_INMASK 0xFC |
| #define SW_MASK 0xF |
| #define SW_OUT0 0x20 |
| #define SW_OUT1 0x10 |
| #define SW_PULSE0 4 |
| #define SW_PULSE0_R 0x100 |
| #define SW_PULSE1 8 |
| #define SW_PULSE1_R 0x200 |
| #define SW_PULSE_P0 0x10 |
| #define SW_PULSE_P1 0x20 |
| #define SW_STAT0 0x4 |
| #define SW_STAT1 0x8 |
| #define t_max 20 |
| #define TEMPERATURE_PRECISION 12 |
| typedef void(* owChangedType) (int, DeviceAddress, float) |
| void owAdd | ( | DeviceAddress | addr | ) |
| int owFind | ( | DeviceAddress | addr | ) |
| void owLoop | ( | ) |
| int owSetup | ( | owChangedType | owCh | ) |
| int owUpdate | ( | ) |
| void setupOwIdle | ( | void(*)() | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |