mirror of
https://github.com/taigrr/arduinolibs
synced 2025-01-18 04:33:12 -08:00
Use Arduino.h on newer versions of the toolchain
This commit is contained in:
@@ -21,7 +21,11 @@
|
||||
*/
|
||||
|
||||
#include "FrontScreen.h"
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include <Arduino.h>
|
||||
#else
|
||||
#include <WProgram.h>
|
||||
#endif
|
||||
|
||||
// Special characters for indicators.
|
||||
#define IND_BATTERY_EMPTY 0
|
||||
|
||||
@@ -22,7 +22,11 @@
|
||||
|
||||
#include "SetMelody.h"
|
||||
#include "LowPowerMelody.h"
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include <Arduino.h>
|
||||
#else
|
||||
#include <WProgram.h>
|
||||
#endif
|
||||
|
||||
extern LowPowerMelody alarmMelody;
|
||||
extern int defaultMelodyNotes[5];
|
||||
|
||||
Reference in New Issue
Block a user