|
sketchbook
|
#include "OneWireHub.h"#include "DS18B20.h"Functions | |
| bool | blinking (void) |
| void | setup () |
| void | loop () |
| float | getTemp (void) |
| float | getVcc (void) |
| float | chipTemp (float raw) |
| int | getADC () |
Variables | |
| constexpr bool | enable_debug = 0 |
| constexpr uint8_t | pin_led { 0 } |
| constexpr uint8_t | pin_onewire { 2 } |
| auto | hub = OneWireHub(pin_onewire) |
| auto | ds18b20 = DS18B20(DS18B20::family_code, 0x00, 0x00, 0xB2, 0x18, 0xDA, 0x00) |
| bool blinking | ( | void | ) |
OneWireHub OneWire slave status update function.
| void |
| float chipTemp | ( | float | raw | ) |
| int getADC | ( | ) |
| float getTemp | ( | void | ) |
| float getVcc | ( | void | ) |
| void loop | ( | void | ) |
OneWirePJON device status update function.
| void setup | ( | void | ) |
Arduino IDE: put your setup code here, to run once.
| auto ds18b20 = DS18B20(DS18B20::family_code, 0x00, 0x00, 0xB2, 0x18, 0xDA, 0x00) |
| constexpr bool enable_debug = 0 |
| auto hub = OneWireHub(pin_onewire) |
| constexpr uint8_t pin_led { 0 } |
| constexpr uint8_t pin_onewire { 2 } |
1.8.6