#include "OneWireHub.h"
#include "DS18B20.h"
#include "Adafruit_Si7021_Tiny.h"
#include <avr/wdt.h>
|
constexpr uint8_t | pin_led { 1 } |
|
constexpr uint8_t | pin_onewire { 4 } |
|
auto | hub = OneWireHub(pin_onewire) |
|
auto | ds18b20 = DS18B20(DS18B20::family_code, 0x00, 0x00, 0xB2, 0x18, 0xDA, 0x00) |
|
auto | ds18b21 = DS18B20(DS18B20::family_code, 0x01, 0x00, 0xB2, 0x18, 0xDA, 0x00) |
|
auto | ds18b22 = DS18B20(DS18B20::family_code, 0x02, 0x00, 0xB2, 0x18, 0xDA, 0x00) |
|
auto | ds18b23 = DS18B20(DS18B20::family_code, 0x03, 0x00, 0xB2, 0x18, 0xDA, 0x00) |
|
Adafruit_Si7021_Tiny | sensor = Adafruit_Si7021_Tiny() |
|
OneWirePJON device status update function.
- Returns
- (void)
Arduino IDE: put your setup code here, to run once.
auto ds18b20 = DS18B20(DS18B20::family_code, 0x00, 0x00, 0xB2, 0x18, 0xDA, 0x00) |
auto ds18b21 = DS18B20(DS18B20::family_code, 0x01, 0x00, 0xB2, 0x18, 0xDA, 0x00) |
auto ds18b22 = DS18B20(DS18B20::family_code, 0x02, 0x00, 0xB2, 0x18, 0xDA, 0x00) |
auto ds18b23 = DS18B20(DS18B20::family_code, 0x03, 0x00, 0xB2, 0x18, 0xDA, 0x00) |
constexpr uint8_t pin_led { 1 } |
constexpr uint8_t pin_onewire { 4 } |
Adafruit_Si7021_Tiny sensor = Adafruit_Si7021_Tiny() |