Where do I find...

03 Jun 2010

New guy here. Trying to familiarize with the mbed website and documentation.

Where do I find the API defs for wait(), wait_ms() and such? I've used the site search function, but only find examples of people using these functions. For instance, what are the parameter types for these... int, float?

Thanks in advance.

03 Jun 2010

Hi, I've been wondering the same thing.

I don't think there is one, but the closest I've been able to find is

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

from following the link from mbed.h in the compiler

03 Jun 2010

See here:

 

void wait(float s);
void wait_ms(int ms);
void wait_us(int us);

 

 

03 Jun 2010

Thanks guys.

I wonder if NXP can improve the indexing of their site. Everything else is great.

03 Jun 2010

FYI, this site is run by people from ARM, not NXP.

03 Jun 2010

Hi Doug,

Yes we can certainly improve the indexing!

The handbook is currently not indexed by our search engine, but the plan is once we're happy with the new cookbook wiki implementation we're testing on the beta site, we'll also move our handbook over to that backend too, so it'll be much better integrated, including indexing.

I'll also look at getting these functions you mentioned documented in the API documentation; an oversight, sorry.

Thanks for taking the time to provide the suggestions!

Simon

03 Jun 2010

Thanks for all of the repsonses on this. Great to hear that the site will soon have better indexing.

The mbed website is the greates I've seen for getting people started, and even for moderate applications. Thanks to the ARM people mentioned above by Igor for your efforts and keeping the site outstanding.

Doug