I have 3 DS18S20 sensors in the project, I want to connect them to one Arduino port. The above library is connected, but it allows you to work with only one sensor on the port. You can implement work with several sensors on one port and realize the function of reading the serial number of the sensors, what would be the understanding of which sensor to interrogate? Otherwise, the implementation of the OneWire protocol functions for these sensors does not make sense.
Hello and welcome to the community, @churkin!
There is no OneWire support in the standard library yet.
But you can implement a wrapper over OneWire C++ library (as it done with i2c) and use it. If so, it will be cool if you share it to the community
Check out these articles:
Or you can just write custom code for your case only.
Good luck with it