Herunterladen Inhalt Inhalt Diese Seite drucken

Velleman VMM502 Bedienungsanleitung Seite 13

Micro:bit tinker kit
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen
  • DE

Verfügbare Sprachen

  • DEUTSCH, seite 82
Step 2 – Pre-Coding
Refer to Project 1, Step 3 – Pre-Coding.
Step 3 – Coding
Click on
Tinkercademy
in your kit.
Next, let's create a code as shown in the picture. For this project, no initialisation is required and there
isn't much code anyway.
First, drag and drop the logic function
block
if then else
Next, add the
motion detector at pin
block. The blocks snap together. The block
in the
Tinkercademy
V. 01 – 17/01/2019
inside the Code Drawer to find our custom blocks for the various components
if then else
can be found in the
Logic
P0
in Code Drawer.
VMM502
in the code editor under the
in Code Drawer.
detects motion
block next to the
motion detector at pin
13
forever
block. The
if
logic. Replace the
P0
detects motion
can be found
©Velleman nv
true

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis