質問編集履歴
2
変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -60,13 +60,13 @@
|
|
60
60
|
|
61
61
|
//************libraries**************//
|
62
62
|
|
63
|
-
|
63
|
+
#include <Wire.h>
|
64
|
-
|
64
|
+
|
65
|
-
|
65
|
+
#include <RTClib.h>
|
66
|
-
|
66
|
+
|
67
|
-
|
67
|
+
#include <LiquidCrystal_I2C.h>
|
68
|
-
|
68
|
+
|
69
|
-
|
69
|
+
#include <SPI.h>__
|
70
70
|
|
71
71
|
//************************************//
|
72
72
|
|
@@ -90,13 +90,13 @@
|
|
90
90
|
|
91
91
|
//**************Alarm***************//
|
92
92
|
|
93
|
-
|
93
|
+
#define buzzer 12
|
94
|
-
|
94
|
+
|
95
|
-
|
95
|
+
#define SS 10 // Chip Select
|
96
|
-
|
96
|
+
|
97
|
-
|
97
|
+
#define MOSI 11
|
98
|
-
|
98
|
+
|
99
|
-
|
99
|
+
#define SCK 13
|
100
100
|
|
101
101
|
int i;
|
102
102
|
|
1
コード挿入しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,9 @@
|
|
8
8
|
|
9
9
|
「問題となっている部分を抜粋」
|
10
10
|
|
11
|
+
```ここに言語を入力
|
12
|
+
|
11
|
-
|
13
|
+
while ( now.hour() == alarmHours && now.minute() == alarmMinutes ){
|
12
14
|
|
13
15
|
while((digitalRead(TOUCH_BUTTON_PIN) == LOW)) {
|
14
16
|
|
@@ -48,8 +50,14 @@
|
|
48
50
|
|
49
51
|
|
50
52
|
|
53
|
+
コード
|
54
|
+
|
55
|
+
```
|
56
|
+
|
51
57
|
プログラム文
|
52
58
|
|
59
|
+
```ここに言語を入力
|
60
|
+
|
53
61
|
//************libraries**************//
|
54
62
|
|
55
63
|
*#include <Wire.h>
|
@@ -672,6 +680,10 @@
|
|
672
680
|
|
673
681
|
}
|
674
682
|
|
683
|
+
コード
|
684
|
+
|
685
|
+
```
|
686
|
+
|
675
687
|
![イメージ説明](e08375efaf20858354db538f2fca7141.png)
|
676
688
|
|
677
689
|
画像にはタッチボタンが配線されてませんが、2ピンにつけられています。
|