We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a2295c commit 6baab6cCopy full SHA for 6baab6c
drivers/I2CSlave.h
@@ -53,7 +53,7 @@ namespace mbed {
53
* #error [NOT_SUPPORTED] I2C Slave is not supported
54
* #endif
55
*
56
- * I2CSlave slave(p3, p4);
+ * I2CSlave slave(I2C_SDA, I2C_SCL);
57
58
* int main() {
59
@@ -86,7 +86,7 @@ namespace mbed {
86
87
* // Master side of the example
88
89
- * I2C master(p3, p4);
+ * I2C master(I2C_SDA, I2C_SCL);
90
91
* static const char* to_send[] = { "abcde", "12345", "EFGHI" };
92
0 commit comments