2. Connect the LED circuit to pin 13 according to the official Blink page or the circuit in the "Hello World with blinking LED" example.
3. Connect your Arduino to a computer via a USB cable.
4. Select Example -> 02.Digital -> Button.
5. Download the code. The LED should be turned on by Arduino when the button is pressed.
Related Information:
Arduino: Hello World! (StudyEECC)
Arduino: Hello World for WeMos D1 WIFI UNO(StudyEECC)
Arduino: Hello World with blinking LED (StudyEECC)
Arduino: Hello World with blinking LED (StudyEECC)
沒有留言:
張貼留言