<?php require_once __DIR__ . '/../vendor/autoload.php'; use azolee\DS18B20; use azolee\DataFormat\FahrenheitDataProcessor; $dataProcessor = new FahrenheitDataProcessor(); $dataProcessor->setPrecision(3); $respone = DS18B20::loadSensors($dataProcessor); var_dump($respone);
info at phpclasses dot org