Owen Brotherwood / microbitmpr121-example

Dependencies:   microbit microbitmpr121

Committer:
owenbrotherwood
Date:
Mon Jan 16 19:43:42 2017 +0000
Revision:
4:52b5898cc757
Parent:
2:b65d70daef8d
Child:
5:fc4f3c9cb438
Next: functionality

Who changed what in which revision?

UserRevisionLine numberNew contents of line
owenbrotherwood 0:026bd8011ba6 1 #include "MicroBit.h"
owenbrotherwood 0:026bd8011ba6 2 #include "MicroBitMpr121.h"
owenbrotherwood 0:026bd8011ba6 3
owenbrotherwood 4:52b5898cc757 4 MicroBitI2C i2c = MicroBitI2C(I2C_SDA0, I2C_SCL0);
owenbrotherwood 4:52b5898cc757 5 MicroBitMpr121 mpr121 = MicroBitMpr121(i2c);
owenbrotherwood 0:026bd8011ba6 6
owenbrotherwood 0:026bd8011ba6 7 int main()
owenbrotherwood 1:f8107f2b2b99 8 {
owenbrotherwood 0:026bd8011ba6 9 }
owenbrotherwood 0:026bd8011ba6 10