From f6f9a060cdfe5ea592971b89b2261407189da5fe Mon Sep 17 00:00:00 2001 From: David Momenso Date: Tue, 15 Sep 2026 20:21:19 -0300 Subject: [PATCH 1/2] Update example images in README.md Replaced old images with redesigned images with transparent background so they look better either in light or dark themes. --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 92d144a..b1d3d42 100755 --- a/README.md +++ b/README.md @@ -55,8 +55,7 @@ You should use sensorType value to match the sensor as follows: If the initialization succeeds when you can call the read function to obtain the latest readout from the sensor. Readout values contains a temperature and a humidity property. ### First Example - -![example1](https://cloud.githubusercontent.com/assets/420851/20246902/1a03bafc-a9a8-11e6-8158-d68928b2e79f.png) +![example1](https://github.com/user-attachments/assets/01bd8cf4-cb08-49e1-bef3-bad89f01e1b5) This sample queries a DHT11 sensor connected to the GPIO 4 and prints out the result on the console. @@ -71,8 +70,7 @@ sensor.read(11, 4, function (err, temperature, humidity) { ``` ### Multiple Sensors Example - -![example2](https://cloud.githubusercontent.com/assets/420851/20246914/554d72c4-a9a8-11e6-9162-ae51ecdf4212.png) +![example2](https://github.com/user-attachments/assets/0a18fc49-523e-46c7-8c14-95fd28ccaa24) The following example shows a method for querying multiple sensors connected to the same Raspberry Pi. For this example, we have two sensors: From 69437d7918b9063096682530f9926b5c89add778 Mon Sep 17 00:00:00 2001 From: David Momenso Date: Tue, 15 Sep 2026 20:31:29 -0300 Subject: [PATCH 2/2] Restore line breaks Keep a single empty line between a heading and its content for better readability of the raw. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index b1d3d42..22350e7 100755 --- a/README.md +++ b/README.md @@ -55,6 +55,7 @@ You should use sensorType value to match the sensor as follows: If the initialization succeeds when you can call the read function to obtain the latest readout from the sensor. Readout values contains a temperature and a humidity property. ### First Example + ![example1](https://github.com/user-attachments/assets/01bd8cf4-cb08-49e1-bef3-bad89f01e1b5) This sample queries a DHT11 sensor connected to the GPIO 4 and prints out the result on the console. @@ -70,6 +71,7 @@ sensor.read(11, 4, function (err, temperature, humidity) { ``` ### Multiple Sensors Example + ![example2](https://github.com/user-attachments/assets/0a18fc49-523e-46c7-8c14-95fd28ccaa24) The following example shows a method for querying multiple sensors connected to the same Raspberry Pi. For this example, we have two sensors: