Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Using IF statements: the easiest, most visual way to go for beginners.

  • Using a Switch-Case statement: a more compact and efficient way to go, to use once you’re comfortable with the why’s and how’s of the IF statement method.

Tip

Tutorial 11 gives a walkthrough of a similar program structure.

Wiring schematics and complete presentation

...