Running sudo ./install_dependencies.sh gpio to install any of the dependencies in the GPIO folder will setup the 1-Wire interface for the Ds18x20Sensor as intended. The 1-Wire driver uses GPIO4 (default setting), which will then no longer be available for any other GPIO device.
This is currently not documented in the readme and can lead to confusion if the Ds18x20Sensor isn't used at all.
I think the cleanest solution would be to move the Ds18x20Sensor into its own folder (e.g. 1-wire) with its own dependencies.txt, but this would introduce a breaking change.
What do you think?
Running
sudo ./install_dependencies.sh gpio
to install any of the dependencies in the GPIO folder will setup the 1-Wire interface for the Ds18x20Sensor as intended. The 1-Wire driver uses GPIO4 (default setting), which will then no longer be available for any other GPIO device.This is currently not documented in the readme and can lead to confusion if the Ds18x20Sensor isn't used at all. I think the cleanest solution would be to move the Ds18x20Sensor into its own folder (e.g.
1-wire
) with its own dependencies.txt, but this would introduce a breaking change. What do you think?