From 439f0805cfdc0bbb193d2a054c0b07977babb46f Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Thu, 2 Jan 2025 15:27:33 +0100 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: José Simões --- samples/Beginner/AnalogRainSensor/Program.cs | 2 +- samples/Beginner/AnalogRainSensor/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/Beginner/AnalogRainSensor/Program.cs b/samples/Beginner/AnalogRainSensor/Program.cs index e3d26a54..1fe7bd30 100644 --- a/samples/Beginner/AnalogRainSensor/Program.cs +++ b/samples/Beginner/AnalogRainSensor/Program.cs @@ -10,7 +10,7 @@ AdcController adc1 = new AdcController(); -// Get the reference minimul and maximum values +// Get the reference minimum and maximum values int max1 = adc1.MaxValue; int min1 = adc1.MinValue; diff --git a/samples/Beginner/AnalogRainSensor/README.md b/samples/Beginner/AnalogRainSensor/README.md index 90c9d0d2..1d6044af 100644 --- a/samples/Beginner/AnalogRainSensor/README.md +++ b/samples/Beginner/AnalogRainSensor/README.md @@ -1,4 +1,4 @@ -# 🌶️ - Read a soil moisture sensor with Analogic to Digital Converter (ADC) +# 🌶️ - Read a soil moisture sensor with Analog to Digital Converter (ADC) Shows how to use the [System.Device.Adc](https://docs.nanoframework.net/api/System.Device.Adc.html) API to set GPIO pins.