This commit is contained in:
kraus
2022-01-23 10:35:57 +01:00
parent d3470593f6
commit 74572e110d
2 changed files with 11 additions and 7 deletions
+10 -6
View File
@@ -40,16 +40,20 @@
#include "U8x8lib.h"
#ifdef ARDUINO
#ifdef U8X8_HAVE_HW_SPI
#include <SPI.h>
#endif
#ifdef U8X8_HAVE_HW_I2C
#ifdef U8X8_HAVE_HW_I2C_TEENSY3
#include <i2c_t3.h>
#else
#include <Wire.h>
#endif
#endif
# ifdef U8X8_HAVE_HW_I2C_TEENSY3
# include <i2c_t3.h>
# else
# include <Wire.h>
# endif
#endif /* U8X8_HAVE_HW_I2C */
#endif /* ARDUINO */