// SPDX-License-Identifier: Apache-2.0 // Copyright (c) 2012-2024 Scott Penrose and WII5 Buoy contributors // // This file is part of WII5 Buoy firmware. // See LICENSE for full terms. /** * @file wii5_weather_18b20.ino * @brief Test sketch: DS18B20 temperature exercise. */ #include "WII5.h" #include "WII5Weather_18B20.h" void setup () { Serial.begin(115200); console.begin(); console.add(&Serial); wii5Weather_18B20.begin(); } void loop() { wii5Weather_18B20.temperatureRead(); delay(5000); }