FastLED 3.9.15
Loading...
Searching...
No Matches
midi_Platform.h
Go to the documentation of this file.
1
27
28#pragma once
29
30#include "midi_Defs.h"
31
33
34#if ARDUINO
35
36// DefaultPlatform is the Arduino Platform
37struct DefaultPlatform
38{
39 static unsigned long now() { return ::millis(); };
40};
41
42#else
43
45{
46 static unsigned long now() { return 0; };
47};
48
49#endif
50
MIDI Library for the Arduino - Definitions.
#define END_MIDI_NAMESPACE
#define BEGIN_MIDI_NAMESPACE
static unsigned long now()