![background image](http://html1.mh-extra.com/html/velleman/microbit/microbit_user-manual_4081207016.webp)
VMM502
V. 01 – 17/01/2019
16
©Velleman nv
Click on
Tinkercademy
or
OLED
inside the
Code Drawer
to find our custom blocks for the various
components in your kit.
Step 3 – Coding
Use blocks under the
Tinkercademy
or
OLED
section, to initialize the OLED and crash sensor as shown
in the picture below.
The block
on start
can be found in the
Basic
in Code Drawer. The block
initialize OLED with height
64 width 128
can be found in the
OLED
in Code Drawer. The block
setup crash sensor at pin
P0
can be found in the
Tinkercademy
in Code Drawer.
Drag and drop the blocks as shown below.