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.
11 years, 8 months ago.
I2CSlave not working on KL25Z?
Hi, I have recently bought a KL25Z development board, and the first project that i´m doing with it uses it as i2c slave. The master is a MBED LPC1768, I have wrotten a simple code just to test the i2c communication but i´m having an error when compiling
"identifier "I2CSlave" is undefined" in file "/main.cpp", Line: 7, Col: 1
(the kl25z is selected in the compiler) If i change to the LPC and just change the pin names, the compiler does it jobs.
Any idea?
1 Answer
11 years, 8 months ago.
I have checked and you can use I2C but not I2CSlave on the KL25Z. Is there any particular reason?