Font size
WorksheetsArduino - Exercise 1 Blink
Total questions: 10
Worksheet time: 5mins
What is this?
A transistor
An Arduino micro-controller
The Millenium Falcon
A resistor
How do we know what the cathode (negative leg) is of an LED? Tick correct ones
Flat edge of LED bulb
Long leg
Short leg
It says on it.
What does digital output mean? Tick all correct answers
It can have one of two values
It can have a voltage of either 0v or 5v
It can be more than 2 different values or states.
It can be HIGH or LOW
What would this command do?
pinMode (13, OUTPUT);
Initialise digital pin 13 as an Input
Nothing, it is spelled incorrectly
Initialise digital pin 13 as an Output
Turn on output 13
What would this command do?
pinMode (5, Output)
Initialise digital pin 5 as an Input
Nothing, it is written incorrectly.
Initialise digital pin 5 as an Output
Turn on output 5
void loop is the section of an Arduino sketch that is only run once.
True
False
if you want to stop an Arduino sketch for 1 second the command would be ---
delay (1);
delay (1000)
delay (1000);
stop for 1 second
What would the following command do?
digitalWrite (13, LOW);
Nothing, it is written incorrectly
Turn on digital pin 13
Turn off digital pin 13
Order a pizza.
Type in the correct command to turn on digital output 13. Do not use spaces and include all correct capitals and semi colons (syntax)
(a)
Tick all of the errors in the following code.
Void setup ()
{
Pinmode (13, OUTPUT)
{
Void is not written correctly
Pinmode is incorrectly written
There is a semi-colon missing
The curly brackets are incorrect.
