Arduino MIDI Library
Version 5.0.1
midi_Platform.h
Go to the documentation of this file.
1
28
#pragma once
29
30
#include "
midi_Defs.h
"
31
32
BEGIN_MIDI_NAMESPACE
33
34
#if ARDUINO
35
36
// DefaultPlatform is the Arduino Platform
37
struct
DefaultPlatform
38
{
39
static
unsigned
long
now
() { return ::millis(); };
40
};
41
42
#else
43
44
struct
DefaultPlatform
45
{
46
static
unsigned
long
now
() {
return
0; };
47
};
48
49
#endif
50
51
END_MIDI_NAMESPACE
midi_Defs.h
MIDI Library for the Arduino - Definitions.
END_MIDI_NAMESPACE
#define END_MIDI_NAMESPACE
Definition:
midi_Namespace.h:32
DefaultPlatform
Definition:
midi_Platform.h:45
DefaultPlatform::now
static unsigned long now()
Definition:
midi_Platform.h:46
BEGIN_MIDI_NAMESPACE
#define BEGIN_MIDI_NAMESPACE
Definition:
midi_Namespace.h:31
franky
dev
playground
FortySevenEffects
arduino_midi_library
src
midi_Platform.h
Generated on Fri Apr 24 2020 06:55:33 for Arduino MIDI Library by
1.8.18