
Use
Revision 0:b746eed99969, committed 2017-08-01
- Comitter:
- caixf
- Date:
- Tue Aug 01 11:49:12 2017 +0000
- Commit message:
- Test
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r b746eed99969 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Aug 01 11:49:12 2017 +0000 @@ -0,0 +1,15 @@ +#include "mbed.h" + +DigitalOut led1(LED1); +DigitalOut led2(LED2); +I2C i2c(p28, p27); + +int main() { + int address = 0x77; // BME280 default address 0x77 + char data[2]; + i2c.read(address, + + + + +}
diff -r 000000000000 -r b746eed99969 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Tue Aug 01 11:49:12 2017 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/ef9c61f8c49f \ No newline at end of file