I just want to use my old program :(

Hello, I’m not a good programmer and I’m working with mbed Studio for the first time today. I just want to program my mbed NXP LPC1768 microcontroller with C like before and play around.

How can I play my old code on the mbed NXP LPC1768 in mbed Studio with C?

Even with the old blinky program, the “wait” function is not recognized. What am I doing wrong?

#include “mbed.h”
DigitalOut led(LED4);
int main()
while (1) {

Hi @M_D,

Underline is yellow under wait which means that it is not an error but a warning. You can however over the wait to get more information about what is wrong. You can also open a Problems panel from Menu->View->Problems to get more information.
Most likely wait() method is deprecated in Mbed OS version you are using. What version do you use? You can find it by opening libraries panel. Menu->View->Mbed Libraries.
To get a program on the board you need to click the run button (it is located under the profile selection dropdown)

Arek - Studio team

1 Like