Difference between revisions of "Grove - LED"

From
Jump to: navigation, search
(Support)
(Support)
Line 9: Line 9:
  
 
[[File:Grove-LED conection.jpg|200px]]
 
[[File:Grove-LED conection.jpg|200px]]
[[File:Base Shield V2 D3.jpg|200px]]
+
[[File:Base Shield V2 D3.jpg|300px]]
  
 
=== Voltage ===
 
=== Voltage ===

Revision as of 22:37, 2 March 2018

Grove - LED (Seeed-Studio)

Caractéristiques

Grove greedled.jpg Groveblue led.jpg Red LED.jpg

Support

sur Digital D2

Grove-LED conection.jpg Base Shield V2 D3.jpg

Voltage

Code Exemple->GroveLEDDemoCode

	#define LED 2 //connect LED to digital pin2
	void setup() {
		// initialize the digital pin2 as an output.
		pinMode(LED, OUTPUT);
	}

	void loop() {
		digitalWrite(LED, HIGH);   // set the LED on
		delay(500);               // for 500ms
		digitalWrite(LED, LOW);   // set the LED off
		delay(500);
	}

Liens internes

Liens externes

Red LED wiki
LED wiki