Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 5 months ago.
I2C pinmap not found for peripheral
Looks like pinmap not found for I2C.
I2C i2c(p5, p27);
sda is on p5, scl is on p27 at this board, right? But, I get an error about I2C pinmap. It'd be great if anybody could give me a comment.
Question relating to:
1 Answer
7 years, 5 months ago.
You need to use the correct naming convention as shown on the platform page for the lpc1114. Try
I2C i2c (dp5,dp27);
Oh,. Really? "d" was not necessary when using an LPC1768. Thank you so much. I'll give it a try.
posted by 04 Jun 2017mbed LPC1114FN28 SDK was developed for several boards initially. This is why the naming of pin is different. https://developer.mbed.org/users/okano/notebook/pinout-picture/
posted by 05 Jun 2017