diff options
author | Trystan Jones <crenn6977@gmail.com> | 2012-06-29 06:51:18 +0000 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-29 12:31:20 -0400 |
commit | ab43e6240c8e5ecbc805e19d056bca8b9ee3b6ca (patch) | |
tree | 86a2317a4ed323cdae13ff4a153716a09e2722a4 /libraries/Wire/rules.mk | |
parent | 6a6af3980a827a02e371968ec56271774ceb26ac (diff) | |
download | librambutan-ab43e6240c8e5ecbc805e19d056bca8b9ee3b6ca.tar.gz librambutan-ab43e6240c8e5ecbc805e19d056bca8b9ee3b6ca.zip |
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 <crenn6977@gmail.com>
Diffstat (limited to 'libraries/Wire/rules.mk')
-rw-r--r-- | libraries/Wire/rules.mk | 2 |
1 files changed, 1 insertions, 1 deletions
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)/%) |