Step 2: The Arduino Code. The circuit is very simple. You just have to connect the sensor to the arduino mega at this way: Vin –> +5V. GND –> GND.
確定! 回上一頁