Velleman VMM501 Manual Del Usuario página 15

Ocultar thumbs Ver también para VMM501:
Tabla de contenido

Publicidad

Idiomas disponibles
  • ES

Idiomas disponibles

  • ESPAÑOL, página 79
2.
Similarly, compile the two
complete code.
3.
When complete, we compile the programme and generate a hex. file. Click
on the download button and save the hex. file to the Downloads folder 
C:\downloads. This hex. file is ready to upload to the micro:bit.
Plug the micro:bit into a USB port. The, drag and drop the hex. file onto the
micro:bit removable device to upload the programme.
Press button A to light the red LED, press button B to light the green LED, press buttons A and B
simultaneously to light the blue LED. Now, how would you realize a soft gradient RGB light?
5.6
Self-Locking Switch
1x micro:bit board
1x micro:bit breadboard adapter
1x breadboard
1x 100 Ω resistor (brown/black/brown/gold)
1x red LED (polarisation: anode (+) = long leg,
cathode (-) = short leg)
1x self-locking or bi-stable switch
We are going to read out the ambient temperature (data) of
the analogue temperature sensor and display the data to the
micro:bit.
Place the necessary components on the breadboard as shown.
Have a look at the code below.
V. 01 – 17/01/2019
VMM501
on button
B/A+B
pressed
15
blocks to form the
©Velleman nv

Publicidad

Tabla de contenido
loading

Tabla de contenido