Merge pull request #12 from malachi-iot/master
non-Arduino compatibility
This commit is contained in:
commit
a4f8d5d8d5
|
|
@ -20,7 +20,9 @@
|
||||||
#ifndef _ADAFRUIT_SENSOR_H
|
#ifndef _ADAFRUIT_SENSOR_H
|
||||||
#define _ADAFRUIT_SENSOR_H
|
#define _ADAFRUIT_SENSOR_H
|
||||||
|
|
||||||
#if ARDUINO >= 100
|
#ifndef ARDUINO
|
||||||
|
#include <stdint.h>
|
||||||
|
#elif ARDUINO >= 100
|
||||||
#include "Arduino.h"
|
#include "Arduino.h"
|
||||||
#include "Print.h"
|
#include "Print.h"
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue