Start of a microbit mpr121 library
Dependents: microbitmpr121-example
Diff: MicroBitMpr121.h
- Revision:
- 2:4e130924a398
- Parent:
- 1:f6fed00a3ff2
- Child:
- 3:a91b1bb396ca
diff -r f6fed00a3ff2 -r 4e130924a398 MicroBitMpr121.h --- a/MicroBitMpr121.h Mon Jan 16 11:38:45 2017 +0000 +++ b/MicroBitMpr121.h Mon Jan 16 14:00:36 2017 +0000 @@ -73,18 +73,18 @@ /** Create the MPR121 object with defaults for microbit, pi-cap and int P16 */ MicroBitMpr121(); - + /** Create the MPR121 object * @param sda - PinName for sda * @param sda - PinName for scl * @param sda - PinName for irq * @param addr - Connection of the address line */ - + //MicroBitMpr121(PinName sda, PinName scl, PinName irq, MPR121_ADDR addr); /** Clear state variables and initilize the dependant objects */ - + void init(void); /** Allow the IC to run and collect user input