5 years, 3 months ago.

mbed studio issues

Hi,

I've downloaded mbed studio with my mbed LPC1768. I've written the standard hello world with LED1 on the mbed. I've made sure that I've used the correct library, mbed-os.lib for mbed studio, rather then the mbed.h i would use with the online compiler. When I've written the program, it doesn't compile to the mbed from mbed studio, and it doesn't recognise keywords such as LED1, DigitalOut, or wait.

I'm obviously missing something, but I would have thought that the C++ used in mbed studio would be of the same style as that of the online compiler?

I've tried to compile from the online compiler, and it compiles perfectly.

has anyone got any ideas of what I've done wrong in mbed studio?

/media/uploads/robjames_walker/fileformbed.h

Thanks

Robert

1 Answer

5 years, 3 months ago.

Hi there,

your #include "mbed-os.lib" not working for me in online Mbed compiler, so I do not understand how you can use it, nwm.

However, The Mbed Studio (keep in mind it is still Public Beta) had an issue with found the mbed.h file in the past. This scenario looks similar and I do not know if was already fixed.

I recommend to you create mbed-os-example-blinky directly in the Mbed Studio - File>>New Program and select example program what you want. You can modified that later.

Best regards J.