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 "SoftI2C.h"
|
||||
#if defined(ARDUINO) && ARDUINO >= 100
|
||||
#include <Arduino.h>
|
||||
#else
|
||||
#include <WProgram.h>
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \class SoftI2C SoftI2C.h <SoftI2C.h>
|
||||
|
||||
Reference in New Issue
Block a user