mbed.h

28 Oct 2009

Hello, I just got my mbed board a few day ago.

Question: is it possible to see the content of mbed.h so I can use some of the constant values ?

If so, where can I find it ?

Thanks,

nick samira

28 Oct 2009 . Edited: 28 Oct 2009

Hi Nick,

mbed.h and the other library headers can be found in the the library SVN repository :

http://mbed.org/projects/libraries/svn/mbed/trunk

You can also expand the mbed library in the IDE project tree view, which contains more details on the API for each interface, and a link to the library (as per the link above).

Hope that helps,
Chris

11 Nov 2009

Hi ...,

How can I add new header-files?

regards Herman.

 

11 Nov 2009 . Edited: 11 Nov 2009

Hi Herman,

herman moons wrote:

How can I add new header-files?

The main ways to create header files in your program would be:

  • Create a new .h file (Right click your program, select "New File..." and enter "yourfilename.h"
  • Import an existing .h file (Right click your program, select "Import Files..." and choose files from the desktop or a url/repository

You can create as many of your own .h and .cpp files in your programs as you want.

Simon