Thank you, I did the test but I just want to change the serial number for another and he found me talking about temperature.
/* * Example-Code that emulates a DS2401*/#include "OneWireHub.h"#include "DS2401.h" // Serial Numberconstexpr uint8_t pin_led { 13 };constexpr uint8_t pin_onewire { 8 };auto hub = OneWireHub(pin_onewire);auto ds2401 = DS2401( DS2401::family_code, 0x00, 0xA0, 0x01, 0x24, 0xDA, 0x00 ); // Work - Serial Numbervoid setup(){ Serial.begin(115200); Serial.println("OneWire-Hub DS2401 Serial Number"); // Setup OneWire hub.attach(ds2401); // always online Serial.println("config done");}void loop(){ // following function must be called periodically hub.poll();}