FastLED 3.9.7
Loading...
Searching...
No Matches
midi_Platform.h
Go to the documentation of this file.
1
28#pragma once
29
30#include "midi_Defs.h"
31
32BEGIN_MIDI_NAMESPACE
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
51END_MIDI_NAMESPACE
MIDI Library for the Arduino - Definitions.