Making decisions: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

6 October 2023

  • curprev 23:3723:37, 6 October 2023‎ Benryves talk contribs‎ 643 bytes +643‎ Created page with "In many cases you will want to make your program choose between one action or another depending on the sensor reading. One example of this is given in fig. 11. This procedure will constantly check the temperature and switch on either one of two lamps depending on the reading. frame|none|fig. 11 ''How it works.'' The REPEAT and UNTIL lines form a loop. The lines within the loop will repeat until sensor A falls below 10. Each time round the lo..."