aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/Wire/HardWire.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixups for Wire library builds.Marti Bolivar2012-08-311-1/+1
| | | | | | | | | Add libraries directory to global include path, so Wire sub-headers can be included in a directory-independent way. Tweak Wire global declaration and definition so it builds. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* libraries/Wire: Cosmetics, include style touchups.Marti Bolivar2012-06-291-7/+6
| | | | | | | | Switch to the new include style. Move includes in headers inside the include guards, for the GCC multiple include parser optimization. Make 80-column clean. Add newlines at end of files. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
* Add new hard/soft Wire I2C library.Trystan Jones2012-06-291-0/+70
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>