Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Diff: inc/globals.h
- Revision:
- 44:741ee27c8a34
- Parent:
- 42:3ae73b61f657
- Child:
- 46:0de65f1bd714
--- a/inc/globals.h Sat Mar 09 21:16:38 2019 +0000 +++ b/inc/globals.h Sat Mar 09 22:32:40 2019 +0000 @@ -91,4 +91,12 @@ extern void processCommand(void); +#define I2C_MASTER 0x70 +#define I2C_SLAVE1 0x71 +#define I2C_SLAVE2 0x72 +#define myI2Caddress I2C_MASTER + +const unsigned short i2c_addr_slave1 = I2C_SLAVE1 << 1; +const unsigned short i2c_addr_slave2 = I2C_SLAVE2 << 1; + #endif