10 years, 10 months ago.

where can I learn mbed commands ?

I'm new in programming, I have watched the codes there are in the page but I don`t understand them fast because I don`t know the commands. I would like to know where learn them. Please, help me.

3 Answers

10 years, 10 months ago.

Oscar,

Checkout this link http://mbed.org/handbook/Homepage then buy yourself a good book about C++ programming.

Good luck with that!

Dave.

10 years, 10 months ago.

Oscar, as mentioned, the mbed specific library functions can be found in the handbook, but everything else is C++, and for that, you could try this website: http://www.cplusplus.com/

But more specifically, the tutorials page: http://www.cplusplus.com/doc/tutorial/

And if you're really in a hurry, this particular one: http://www.cplusplus.com/doc/tutorial/program_structure/ and then work your way through each of the following sections (there are navigation arrows and links to the index at the bottom of that page).

But it will be worthwhile starting at the beginning of the tutorials and work through all the sections otherwise you're going to feel like you missed an episode...

10 years, 10 months ago.

Hi Oscar,

There are several layers of programming that go into an mbed program. Most of the code you will encounter on the website is based on Objects, which you can see as sort of building blocks for your own application. The mbed library has lots of these building blocks, some are for just turning on and off a pin on the microcontroller, while others are for more complex things like communicating to a memory or doing things after a certain ammount of time happens. The only thing I would add to the recommendations above is to take a look at the examples specific to the platform that you are using. For example, on the KL25z that would be:

http://mbed.org/handbook/mbed-FRDM-KL25Z-Examples

Play with the code, try changing bits and see what they do.