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.
10 years, 10 months ago.
LPC 1114FN28 SPI
Hello,
I'm trying to use SPI but I keep getting a compiler error saying that p1 and p2 are undefined. Any advice on fixing this problem?
Question relating to:

1 Answer
10 years, 10 months ago.
Check the pinout diagram for the correct pinnames. The LPC1114 shows dp1, dp2 as possible pin IDs for SPI. Pinnames p1, p2 are used for the LPC1768 mbed.