From f775b192b2f311da23c4f0bebdddff2da3992b04 Mon Sep 17 00:00:00 2001 From: Jasper Precht <72135430+jasperp92@users.noreply.github.com> Date: Mon, 10 Nov 2025 14:01:32 +0100 Subject: [PATCH] Fix moisture measurement condition in plants station --- docs/calliope/arbeitsheft/45-1_pflanzenstation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/calliope/arbeitsheft/45-1_pflanzenstation.md b/docs/calliope/arbeitsheft/45-1_pflanzenstation.md index 8724209ff..6645d2e9c 100644 --- a/docs/calliope/arbeitsheft/45-1_pflanzenstation.md +++ b/docs/calliope/arbeitsheft/45-1_pflanzenstation.md @@ -18,7 +18,7 @@ input.onButtonEvent(Button.B, input.buttonEventClick(), function () { basic.showNumber(input.temperature()) }) basic.forever(function () { -if (grove.measureMoistureAnalog(AnalogPin.C16) < 300) { +if (AnalogPin.C16, MoistureMode.Original, MoistureOutput.Number) < 300) { basic.setLedColor(0x00ff00) } else { basic.setLedColor(0xff0000)