Herunterladen Inhalt Inhalt Diese Seite drucken

Velleman VMM502 Bedienungsanleitung Seite 19

Micro:bit tinker kit
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen
  • DE

Verfügbare Sprachen

  • DEUTSCH, seite 82
Step 3 – Coding
Drag and drop the blocks as shown below in picture.
You should always initialize the OLED at the beginning. 64 and 128 represent the height and width of
the OLED respectively.
The block
if then else
The block
smaller than
the
if
block. Replace the
Drag and drop the block
You can find this block in the
Set the value of the logic function
P1. The code should look like the illustration below.
V. 01 – 17/01/2019
VMM502
can be found in the
Logic
can be found in the
Logic
true
block. They will snap together.
value of moisture sensor at pin P0
Tinkercademy
in Code Drawer.
smaller than
in Code Drawer.
in Code Drawer. Drag and drop this block next to
over the first 0 of the logic comparison.
to 50. Modify
value of moisture sensor at pin P0
19
to
©Velleman nv

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis