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.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi,
I'm trying to get familiar with the mbed, and I'm wondering why I can't put the calls to functions like TextLCD() and DigitalOut() in a setup() function that is called in main() and prototyped before main(). The program compiles fine if the lines associated with these functions are placed before main() or even inside main() but before reference to the variables that are associated in the DigitalOut or TextLCD functions.
Thank you!
(The code below gives a compiler error 20: the identifiers for mledn are undefined)