2 years 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:

The LPC1114FN28 is an ARM Cortex-M0 based, low-cost 32-bit MCU, designed for 8/16-bit microcontroller applications, offering performance, low power, simple instruction set and memory addressing together with reduced code size ...
Comment on this question

1 Answer

2 years 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 yuusuke yamaoka 04 Jun 2017

I've succeeded ! Thanks again !! :-)

posted by yuusuke yamaoka 04 Jun 2017

mbed LPC1114FN28 SDK was developed for several boards initially. This is why the naming of pin is different.

posted by Tedd OKANO 05 Jun 2017

To post an answer, please log in.