Skip to content

Commit

Permalink
Merge pull request #4 from srobo/backport
Browse files Browse the repository at this point in the history
Backport spellings used in the docs version
  • Loading branch information
WillB97 authored Sep 1, 2024
2 parents ed03aa2 + 440cf13 commit 9e103fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/src.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 9e103fc

Please sign in to comment.