non-Arduino compatibility

Should work with most standard C++ implementations
This commit is contained in:
Malachi Burke
2017-04-18 01:50:32 -07:00
parent e985f2253a
commit ec509fc335

View File

@ -20,7 +20,9 @@
#ifndef _ADAFRUIT_SENSOR_H
#define _ADAFRUIT_SENSOR_H
#if ARDUINO >= 100
#ifndef ARDUINO
#include <stdint.h>
#elif ARDUINO >= 100
#include "Arduino.h"
#include "Print.h"
#else