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.
8 years, 7 months ago.
error:identifier "p5" is undefined
Mbed in the windows command line when the port is not defined how to solve the compiler
May we get more information like which project you are working on? What command line are you executing? Could you provide full logs/prints for the errors?
posted by Fred Li 16 Jan 2017And what your target board is. That format of pin name is only valid for a couple of boards. If you are using code you found on this site then you'll need to change the pin names to match the board you are using.
posted by Andy A 16 Jan 2017