This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
oak:tutorials:button [2016/03/20 05:12] djflix |
oak:tutorials:button [2016/03/20 05:13] djflix |
||
|---|---|---|---|
| Line 62: | Line 62: | ||
| **2. LED** | **2. LED** | ||
| - | After adding the resistors, you can add the LED. When connecting the LED, double-check the polarity. The shorter leg is the cathode (-) and the longer leg is the anode (+). Connect the **cathode** to the top (10K) resistor, and connect the **anode** to P2 of the Oak using a wire (the blue wire in the example). | + | After adding the resistors, you can add the LED. When connecting the LED, double-check the polarity. The shorter leg is the cathode (-) and the longer leg is the anode (+). Connect the **cathode** to the top (150 Ohm) resistor, and connect the **anode** to P2 of the Oak using a wire (the blue wire in the example). |
| **3. Button** | **3. Button** | ||