From b786e468fbe2408afcd37cba2b6fc915c8ae222d Mon Sep 17 00:00:00 2001 From: Pierre-Julien Cazaux Date: Fri, 27 Mar 2020 12:54:23 +0100 Subject: [PATCH] removed relatives call to Wire.h and SPI.h As mentionned in #7 issue ../SPI/SPI.h and ../Wire/Wire.h are now repalced by SPI.h and Wire.h https://github.com/sumotoy/gpio_expander/issues/7 --- README.md | 2 +- max6957.cpp | 2 +- max6957.h | 2 +- max7301.cpp | 2 +- max7301.h | 2 +- max7311.cpp | 2 +- max7318.cpp | 2 +- mcp23008.cpp | 2 +- mcp23016.cpp | 2 +- mcp23017.cpp | 2 +- mcp23018.cpp | 2 +- mcp23s08.cpp | 2 +- mcp23s08.h | 2 +- mcp23s17.cpp | 2 +- mcp23s17.h | 2 +- mcp23s18.cpp | 2 +- mcp23s18.h | 2 +- pca9555.cpp | 2 +- pca9655.cpp | 2 +- pcf8574.cpp | 2 +- pcf8574a.cpp | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index bedf585..3cc671e 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,7 @@ In the .h file of your existing library add this lines just after the aruino.h i #include "yourlib.h" //here start the include -#include <../SPI/SPI.h>//this chip needs SPI +#include //this chip needs SPI #include <../gpio_expander/mcp23s17.h> //here ends ``` diff --git a/max6957.cpp b/max6957.cpp index 28c0096..2ac0d16 100644 --- a/max6957.cpp +++ b/max6957.cpp @@ -5,7 +5,7 @@ #include #include "max6957.h" -#include <../SPI/SPI.h>//this chip needs SPI +#include //this chip needs SPI max6957::max6957(){ #if defined (SPI_HAS_TRANSACTION) diff --git a/max6957.h b/max6957.h index b3eefd8..3d26e9a 100644 --- a/max6957.h +++ b/max6957.h @@ -195,7 +195,7 @@ XXXXX #include #include "gpio_expander.h" -#include <../SPI/SPI.h>//this chip needs SPI +#include //this chip needs SPI #include "_utility/SPI.parameters.h" diff --git a/max7301.cpp b/max7301.cpp index cd1defa..247f36c 100644 --- a/max7301.cpp +++ b/max7301.cpp @@ -5,7 +5,7 @@ #include #include "max7301.h" -#include <../SPI/SPI.h>//this chip needs SPI +#include //this chip needs SPI max7301::max7301(){ #if defined (SPI_HAS_TRANSACTION) diff --git a/max7301.h b/max7301.h index 55cf125..d51da43 100644 --- a/max7301.h +++ b/max7301.h @@ -195,7 +195,7 @@ XXXXX #include #include "gpio_expander.h" -#include <../SPI/SPI.h>//this chip needs SPI +#include //this chip needs SPI #include "_utility/SPI.parameters.h" diff --git a/max7311.cpp b/max7311.cpp index 1ad6e8b..88ae415 100644 --- a/max7311.cpp +++ b/max7311.cpp @@ -5,7 +5,7 @@ #include #include "max7311.h" -#include <../Wire/Wire.h>//this chip uses wire +#include //this chip uses wire max7311::max7311(){ diff --git a/max7318.cpp b/max7318.cpp index 33ad0e0..35dc020 100644 --- a/max7318.cpp +++ b/max7318.cpp @@ -5,7 +5,7 @@ #include #include "max7318.h" -#include <../Wire/Wire.h>//this chip uses wire +#include //this chip uses wire max7318::max7318(){ } diff --git a/mcp23008.cpp b/mcp23008.cpp index 50a542f..6edc324 100644 --- a/mcp23008.cpp +++ b/mcp23008.cpp @@ -5,7 +5,7 @@ #include #include "mcp23008.h" -#include <../Wire/Wire.h>//this chip uses wire +#include //this chip uses wire mcp23008::mcp23008(){ diff --git a/mcp23016.cpp b/mcp23016.cpp index 1e43f65..d70fb7a 100644 --- a/mcp23016.cpp +++ b/mcp23016.cpp @@ -5,7 +5,7 @@ #include #include "mcp23016.h" -#include <../Wire/Wire.h>//this chip uses wire +#include //this chip uses wire mcp23016::mcp23016(){ diff --git a/mcp23017.cpp b/mcp23017.cpp index fe01f7c..aa7e95f 100644 --- a/mcp23017.cpp +++ b/mcp23017.cpp @@ -5,7 +5,7 @@ #include #include "mcp23017.h" -#include <../Wire/Wire.h>//this chip uses wire +#include //this chip uses wire mcp23017::mcp23017(){ diff --git a/mcp23018.cpp b/mcp23018.cpp index 4eeb723..547b7ce 100644 --- a/mcp23018.cpp +++ b/mcp23018.cpp @@ -5,7 +5,7 @@ #include #include "mcp23018.h" -#include <../Wire/Wire.h>//this chip uses wire +#include //this chip uses wire mcp23018::mcp23018(){ diff --git a/mcp23s08.cpp b/mcp23s08.cpp index e4562fe..f73e9c8 100644 --- a/mcp23s08.cpp +++ b/mcp23s08.cpp @@ -5,7 +5,7 @@ #include #include "mcp23s08.h" -#include <../SPI/SPI.h>//this chip needs SPI +#include //this chip needs SPI mcp23s08::mcp23s08(){ #if defined (SPI_HAS_TRANSACTION) diff --git a/mcp23s08.h b/mcp23s08.h index 5115850..950379f 100644 --- a/mcp23s08.h +++ b/mcp23s08.h @@ -67,7 +67,7 @@ A1,A0 tied to ground = 0x20 #include #include "gpio_expander.h" -#include <../SPI/SPI.h>//this chip needs SPI +#include //this chip needs SPI #include "_utility/SPI.parameters.h" diff --git a/mcp23s17.cpp b/mcp23s17.cpp index ca696c0..2172353 100644 --- a/mcp23s17.cpp +++ b/mcp23s17.cpp @@ -5,7 +5,7 @@ #include #include "mcp23s17.h" -#include <../SPI/SPI.h>//this chip needs SPI +#include //this chip needs SPI mcp23s17::mcp23s17(){ #if defined (SPI_HAS_TRANSACTION) diff --git a/mcp23s17.h b/mcp23s17.h index 51aabee..08b70fc 100644 --- a/mcp23s17.h +++ b/mcp23s17.h @@ -73,7 +73,7 @@ A2,A1,A0 tied to ground = 0x20 #include #include "gpio_expander.h" -#include <../SPI/SPI.h>//this chip needs SPI +#include //this chip needs SPI #include "_utility/SPI.parameters.h" diff --git a/mcp23s18.cpp b/mcp23s18.cpp index 5c35ed7..3c50584 100644 --- a/mcp23s18.cpp +++ b/mcp23s18.cpp @@ -5,7 +5,7 @@ #include #include "mcp23s18.h" -#include <../SPI/SPI.h>//this chip needs SPI +#include //this chip needs SPI mcp23s18::mcp23s18(){ #if defined (SPI_HAS_TRANSACTION) diff --git a/mcp23s18.h b/mcp23s18.h index 7bd43b3..49d46b6 100644 --- a/mcp23s18.h +++ b/mcp23s18.h @@ -66,7 +66,7 @@ Address: 00100000 always 0x20 #include #include "gpio_expander.h" -#include <../SPI/SPI.h>//this chip needs SPI +#include //this chip needs SPI #include "_utility/SPI.parameters.h" diff --git a/pca9555.cpp b/pca9555.cpp index 4b65231..748b18c 100644 --- a/pca9555.cpp +++ b/pca9555.cpp @@ -5,7 +5,7 @@ #include #include "pca9555.h" -#include <../Wire/Wire.h>//this chip uses wire +#include //this chip uses wire pca9555::pca9555(){ diff --git a/pca9655.cpp b/pca9655.cpp index 56edd1f..c3bc555 100644 --- a/pca9655.cpp +++ b/pca9655.cpp @@ -5,7 +5,7 @@ #include #include "pca9655.h" -#include <../Wire/Wire.h>//this chip uses wire +#include //this chip uses wire pca9655::pca9655(){ diff --git a/pcf8574.cpp b/pcf8574.cpp index 0257eb5..393b2b2 100644 --- a/pcf8574.cpp +++ b/pcf8574.cpp @@ -5,7 +5,7 @@ #include #include "pcf8574.h" -#include <../Wire/Wire.h>//this chip uses wire +#include //this chip uses wire pcf8574::pcf8574(){ diff --git a/pcf8574a.cpp b/pcf8574a.cpp index b051d19..f718a92 100644 --- a/pcf8574a.cpp +++ b/pcf8574a.cpp @@ -5,7 +5,7 @@ #include #include "pcf8574a.h" -#include <../Wire/Wire.h>//this chip uses wire +#include //this chip uses wire pcf8574a::pcf8574a(){