From ab43e6240c8e5ecbc805e19d056bca8b9ee3b6ca Mon Sep 17 00:00:00 2001 From: Trystan Jones Date: Fri, 29 Jun 2012 06:51:18 +0000 Subject: Add new hard/soft Wire I2C library. Added a generic pure abstract class to provide the interface for all Wire implementations. Modified the old Wire library using software interface to use the new Base Wire abstract class. Added a new library which allows the use of the Wire class to use the I2C hardware. Changed default pin numbers for Software Wire library to match pin numbers used for I2C/TWI shields created for the Arduino. Signed-off-by: Trystan Jones --- libraries/Wire/rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libraries/Wire/rules.mk') diff --git a/libraries/Wire/rules.mk b/libraries/Wire/rules.mk index 71f5e75..e16f4db 100644 --- a/libraries/Wire/rules.mk +++ b/libraries/Wire/rules.mk @@ -10,7 +10,7 @@ CFLAGS_$(d) := $(WIRISH_INCLUDES) $(LIBMAPLE_INCLUDES) # Local rules and targets cSRCS_$(d) := -cppSRCS_$(d) := Wire.cpp +cppSRCS_$(d) := WireBase.cpp HardWire.cpp Wire.cpp cFILES_$(d) := $(cSRCS_$(d):%=$(d)/%) cppFILES_$(d) := $(cppSRCS_$(d):%=$(d)/%) -- cgit v1.2.3