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.