Micro:bit | Capteur analogique de lecture

The following example shows how to use an analog read block to read a sensor value and output to the data simulator

After downloading the code to your Microbit, click the Show Data Device button to load the data logger. Here you will see the varying sensor data. This works with sensors like sound, light, pulse, pressure, knobs, etc.

Aperçu

Un exemple d'utilisation d'une entrée analogique pour déplacer un servo