The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents:
hello
SerialTestv11
SerialTestv12
Sierpinski
... more
1 comment:
I ran into a similar issue with the LCP1768. I found that if I always used a decimal the compiler would know that a float was passed.
From the help file:
/** Waits for a number of seconds, with microsecond resolution (within
* the accuracy of single precision floating point).
*
* @param s number of seconds to wait
*/
void wait(float s);
/** Waits a number of milliseconds.
*
* @param ms the whole number of milliseconds to wait
*/
void wait_ms(int ms);
/** Waits a number of microseconds.
*
* @param us the whole number of microseconds to wait
*/
void wait_us(int us);
I ran into a similar issue with the LCP1768. I found that if I always used a decimal the compiler would know that a float was passed.
From the help file: