質問編集履歴
4
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
3
test
CHANGED
File without changes
|
test
CHANGED
@@ -36,7 +36,7 @@
|
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
-
|
39
|
+
|
40
40
|
|
41
41
|
for(int i = 0 ; i < LED_COUNT ; i++ )
|
42
42
|
|
@@ -51,3 +51,7 @@
|
|
51
51
|
delay(40);
|
52
52
|
|
53
53
|
}
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
}
|
2
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -12,7 +12,7 @@
|
|
12
12
|
|
13
13
|
|
14
14
|
|
15
|
-
#define LED_COUNT (
|
15
|
+
#define LED_COUNT ( 60 )
|
16
16
|
|
17
17
|
#define DIGITAL_PIN ( 6 )
|
18
18
|
|
@@ -36,22 +36,6 @@
|
|
36
36
|
|
37
37
|
|
38
38
|
|
39
|
-
///色を設定
|
40
|
-
|
41
|
-
//第一引数:何個目のLEDを光らせるか
|
42
|
-
|
43
|
-
//第二引数:色を設定(RGB)
|
44
|
-
|
45
|
-
led.setPixelColor( 1, led.Color(255,255,255));
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
///設定した情報をテープに送る!
|
50
|
-
|
51
|
-
led.show();
|
52
|
-
|
53
|
-
|
54
|
-
|
55
39
|
}
|
56
40
|
|
57
41
|
for(int i = 0 ; i < LED_COUNT ; i++ )
|