Arduino-Scheduler
Portable Collaborative Multi-Tasking Scheduler for Arduino
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Blink.h
Go to the documentation of this file.
1
23
#ifndef BLINK_H
24
#define BLINK_H
25
26
template
<
int
PIN,
unsigned
int
MS>
27
class
Blink
{
28
public
:
29
static
void
setup
()
30
{
31
pinMode(PIN, OUTPUT);
32
}
33
static
void
loop
()
34
{
35
digitalWrite(PIN, HIGH);
36
delay(MS);
37
digitalWrite(PIN, LOW);
38
delay(MS);
39
}
40
};
41
42
#endif
Blink::loop
static void loop()
Definition:
Blink.h:33
Blink::setup
static void setup()
Definition:
Blink.h:29
Blink
Definition:
Blink.h:27
examples
SchedulerBlinkTemplateClass
Blink.h
Generated on Thu Aug 31 2017 12:52:29 for Arduino-Scheduler by
1.8.11