Upload blinkrgb.159.ino
Browse files- blinkrgb.159.ino +18 -0
blinkrgb.159.ino
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
int redPin=9;
|
2 |
+
int greenPin=10;
|
3 |
+
int bluePin=11;
|
4 |
+
int br=115200;
|
5 |
+
|
6 |
+
void setup() {
|
7 |
+
// put your setup code here, to run once:
|
8 |
+
Serial.begin(br);
|
9 |
+
pinMode(redPin,OUTPUT);
|
10 |
+
pinMode(greenPin,OUTPUT);
|
11 |
+
pinMode(bluePin,OUTPUT);
|
12 |
+
}
|
13 |
+
|
14 |
+
void loop() {
|
15 |
+
// put your main code here, to run repeatedly:
|
16 |
+
digitalWrite(bluePin,HIGH);
|
17 |
+
|
18 |
+
}
|