From 440cf138810b63b1615f8acdaed686b32f731ebf Mon Sep 17 00:00:00 2001 From: WillB97 Date: Sat, 31 Aug 2024 22:58:19 +0100 Subject: [PATCH] Backport spellings used in the docs version --- src/src.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/src.ino b/src/src.ino index f23d1f2..95f042e 100644 --- a/src/src.ino +++ b/src/src.ino @@ -35,7 +35,7 @@ void command_read() { } } -void command_analogue_read() { +void command_analog_read() { int pin = read_pin(); int value = analogRead(pin); Serial.print(value); @@ -85,7 +85,7 @@ void loop() { // Do something different based on what we got: switch (selected_command) { case 'a': - command_analogue_read(); + command_analog_read(); break; case 'r': command_read();