File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 10
10
created by Arturo Guadalupi
11
11
17 Nov 2015
12
12
modified
13
- 18 Feb 2016
13
+ 01 Mar 2016
14
14
15
15
NOTE:
16
16
If you use this sketch with a MKR1000 you will see no output on the serial monitor.
@@ -35,7 +35,8 @@ const byte year = 15;
35
35
36
36
void setup ()
37
37
{
38
- Serial.begin (115200 );
38
+ pinMode (LED_BUILTIN, OUTPUT);
39
+ digitalWrite (LED_BUILTIN, LOW);
39
40
40
41
rtc.begin ();
41
42
@@ -52,20 +53,10 @@ void setup()
52
53
53
54
void loop ()
54
55
{
55
-
56
- Serial.println (" Awake!" );
57
-
58
- for (int i = 0 ; i < 10 ; i++)
59
- Serial.print (i);
60
-
61
- Serial.println ();
62
-
63
- Serial.println (" Done! Goodnight!" );
64
-
65
56
rtc.standbyMode (); // Sleep until next alarm match
66
57
}
67
58
68
59
void alarmMatch ()
69
60
{
70
-
61
+ digitalWrite (LED_BUILTIN, HIGH);
71
62
}
You can’t perform that action at this time.
0 commit comments