The ''setup'' parameter when calling the {{fname|setup()}} method can be used to configure additional hardware (or sensors).
+
+
The example here below use a setup() routine that creates a [https://shop.mchobby.be/fr/cartes-breakout/1118-bmp280-senseur-de-pression-barometrique-temperature-altitude-33-et-5v-3232100011182-adafruit.html BMP280 athmospheric pressure sensor] then attach it to the {{fname|din}} instance as {{fname|sensor}} attribute.
+
+
Then, the {{fname|loop()}} routine can access the {{fname|sensor}} attribute to query the data.