Andy Pomfret
/
UoY-32C-lab5-i2c
Template project for University of York ELE00032C Lab 5
main.cpp@3:0670b3cc8207, 2021-02-18 (annotated)
- Committer:
- ajp109
- Date:
- Thu Feb 18 11:57:46 2021 +0000
- Revision:
- 3:0670b3cc8207
- Parent:
- 2:b32c1a40f22f
Like an idiot I'd used SPI instead of I2C. Fixed.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ajp109 | 0:77209603a6fe | 1 | #include "mbed.h" |
ajp109 | 0:77209603a6fe | 2 | |
ajp109 | 3:0670b3cc8207 | 3 | I2C i2c(D14, D15); |
ajp109 | 1:f32fea0468ad | 4 | |
ajp109 | 1:f32fea0468ad | 5 | int main() { |
ajp109 | 0:77209603a6fe | 6 | |
ajp109 | 0:77209603a6fe | 7 | } |