Microduino Hall sensor usage
|Language:||English • 中文|
This tutorial will teach you how to use the hall sensor.
Connect the digital I/O port to pin13
Refer to hallSensorOLED
Step 1: Stack the Microduino module and connect the hall sensor, as follows:
Step 2: Compile the program and download.
Step 3: Use a magnet to shake in the surrounding, observe the OLED's output.
OLED will display south and north.