levo

Electronic Systems and Programmable Components

Delays, loops and counts

  • 3 things to know
  • Component 1, Section A
Start revising · £5/month

Overview

The PICAXE pause and wait commands, flashing an LED once a second, continuous and counted loops with for and next, variables, counting items on a conveyor, resetting a count, delays to stop switch bounce and timing traffic light sequences.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Key term

What is a delay in a program?

Key term

What PICAXE commands create delays?

Key term

How long is a pause of 1,000 milliseconds?

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is a delay in a program?

    Model answer

    A delay pauses the program for a set time before the next step runs.

  2. 2

    What PICAXE commands create delays?

    Model answer

    The PICAXE command pause waits for a number of milliseconds. The command wait waits for a number of seconds.

  3. 3

    How long is a pause of 1,000 milliseconds?

    Model answer

    A pause of 1,000 milliseconds lasts 1 second.

  4. 4

    Describe a program that flashes an LED on and off once a second.

    Model answer

    The program switches the LED on and waits 0.5 s. The LED then switches off, waits 0.5 s and loops back.

  5. 5

    What is a loop in a program?

    Model answer

    A loop repeats a section of the program, either for ever or a set number of times.

  6. 6

    What is a continuous loop?

    Model answer

    A continuous loop repeats a section of program for ever, until the power is switched off.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

New and Emerging Technologies
Evaluating New and Emerging Technologies
Energy Generation and Storage
Modern Materials, Composites and Technical Textiles

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

Acrylic is .
brittleflexibletough

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

The nearest E12 value is 4.7 kΩ.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Electronic Systems and Programmable Components, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.