Up to this point we have been using drivers that are installed and configured. In most cases you will at least need to configure the driver or some aspect of the system. The Device Tree is the modern ...
A function to check for the dht11 overlay and only load it if it isn’t already loaded is easy enough with just some string handling and the use of the popen function: #define _DEFAULT_SOURCE #include ...