1
0
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:
Rhys Weatherley
2012-05-25 15:04:49 +10:00
parent bc9f7ecb64
commit 858971da6e
12 changed files with 49 additions and 1 deletions

View File

@@ -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

View File

@@ -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];