Start of a microbit mpr121 library

Dependents:   microbitmpr121-example

Revision:
3:a91b1bb396ca
Parent:
2:4e130924a398
Child:
4:f63476855239
--- a/MicroBitMpr121.h	Mon Jan 16 14:00:36 2017 +0000
+++ b/MicroBitMpr121.h	Mon Jan 16 14:31:36 2017 +0000
@@ -116,13 +116,13 @@
      *  @param reg - The register to be written
      *  @param data - The data to be written
      */
-    void writeRegister(MPR121_REGISTER const reg, uint8_t const data) const;
+    void write(MPR121_REGISTER const reg, uint8_t const data) const;
 
     /** Read from a register (exposed for debugging reasons)
      *  @param reg - The register to read from
      *  @return The register contents
      */
-    uint8_t readRegister(MPR121_REGISTER const reg) const;
+    uint8_t read(MPR121_REGISTER const reg) const;
 
 };