aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/Wire/HardWire.h
Commit message (Collapse)AuthorAgeFilesLines
* 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>