-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
if you try to use the wait() function on the classic mbed-dev (NOT mbed-os)
and you use a 100ms of delay
You will found a bug in the wait function. the timing made many errors, the Led jump blinking
I tested it on an F103 board
#include "mbed.h"
DigitalOut myled(PC_13);
int main() {
while(1) {
myled = 1;
wait_ms(100);
myled = 0;
wait_ms(100);
}
}`