I'm using a GPIO connected display 1 which requires a patched kernel and dtoverlay=4dpi-3x in /boot/config.txt I would like to use a DS18B20 temperature sensor which requires dtoverlay=w1-gpio to show the temperature on the display.

If I try to load both overlays at the same time seperated by ',' only the first one will work. So either the display or the DS18B20. Is there another way to make them work together?

The display does not use GPIO4 which the DS18B20 is connected to.


1 Answer 1


As it turns out several overlays can be loaded by adding multiple dtoverlay variables:

In this case:


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.