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 2017

And 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
Be the first to answer this question.