TinkerKit Power LED
Overview
The Power LED is an actuator. Five ultra-bright LEDs can be powered from an Arduino pin.
Input: Arduino provides a maximum of 40 mA per pin, enough to light up the five LEDs using the
DigitalWrite() and AnalogWrite() functions.
Module description: This module features Five AWT801-S LEDs from Seoul Semi Conductor, the
standard TinkerKit 3pin connector and a green LED that signals that the module is correctly powered and
a yellow LED that is lit only when the LED is lit. A resistor limits the voltage from the Arduino, protecting
the lights.
This module is an ACTUATOR. The connector is an INPUT which must be connected to an OUTPUT
connector on the TinkerKit Shield.
Code Example
/*
based on Blink, Arduino's "Hello World!"
Turns on an LED on for one second, then off for one second, repeatedly.
The Tinkerkit Led Modules (T010110-7) is hooked up on O0
This example code is in the public domain.
*/
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
O0
O1
O2
O3
O4
O5
I0
I1
I2
I3
I4
I5
11
10
9
6
5
3
A0
A1
A2
A3
A4
A5
void setup() {
// initialize the digital pin as an output.
// Pin 13 has an LED connected on most Arduino boards:
pinMode(O0, OUTPUT);
}
void loop() {
digitalWrite(O0, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(O0, LOW); // set the LED off
delay(1000); // wait for a second
}
Mouser Electronics
Authorized Distributor
Click to View Pricing, Inventory, Delivery & Lifecycle Information:
Arduino:
T010110
很抱歉,暂时无法提供与“T010110”相匹配的价格&库存,您可以联系我们找货
免费人工找货