The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

Issue: nucleo F411RE in IAR System 7.2

nucleo F411RE in IAR System 7.2 (ARM 7.40) the function wait() is not working, but wait_ms() and wait_us() is fine I guess this is just little bug

1 comment:

24 Jun 2015

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);