Andy Pomfret
/
UoY-32C-lab5-i2c
Template project for University of York ELE00032C Lab 5
Revision 3:0670b3cc8207, committed 2021-02-18
- Comitter:
- ajp109
- Date:
- Thu Feb 18 11:57:46 2021 +0000
- Parent:
- 2:b32c1a40f22f
- Commit message:
- Like an idiot I'd used SPI instead of I2C. Fixed.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r b32c1a40f22f -r 0670b3cc8207 main.cpp --- a/main.cpp Sat Jan 30 15:30:49 2021 +0000 +++ b/main.cpp Thu Feb 18 11:57:46 2021 +0000 @@ -1,6 +1,6 @@ #include "mbed.h" -SPI spi(D14, D15); +I2C i2c(D14, D15); int main() {