10 years, 8 months ago.

Some help for the begginers!

Firstly, i would like to ask if it's possible to programm not only in c++ , but also in c.. Besides, can i have some helpful advice for how can i start using mbed? (i mean what i am supposed to study at first or what hardware i am supposed to buy at first? ).. Thanks a lot for your valuable time.

2 Answers

10 years, 8 months ago.

Yes, you can program in C using the mbed development environment, but most of the component libraries will be written in C++ so you need to know some C++ when you want to make use of those. The classic mbed LPC1768 is a good starting point. See here follow the links on that page and get started on the examples (hello.world etc). There are also some books for sale on using the mbed. They will take you through everything step by step. See here.

10 years, 8 months ago.

The LPC1768 is a great place to start. Paired with this book; "Embedded Systems Design, Fast and effective embedded systems design - Applying the ARM mbed", you will be on your way creating with the mbed in no time.

C++ is just an extension of C. If you know C then you will be able to do almost anything with the mbed. C++ offers everything C does plus object oriented programming. Meaning, among other things, classes and function overloading. Don't be intimidated by the programming, the more you code the more you will understand.

Although studying is good, there is really no substitute for jumping in head first and getting your hands on the hardware. Pick up the book and follow along building the examples.

And remember to use the forums when you get stuck. Often another person has faced the same problem and may offer a creative solution.