Velleman VMM502 Manual Del Usuario página 19

Tabla de contenido
Idiomas disponibles
  • ES

Idiomas disponibles

  • ESPAÑOL, página 63
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
Tabla de contenido
loading

Tabla de contenido