4 void print_char(char c = '*')
11 DigitalOut led1(LED1);
14 static int led1_state = 0;
16 led1 = 0; led1_state = 0;
18 led1 = 1; led1_state = 1;
24 DigitalOut led2(LED2);
27 static int led2_state = 0;
29 led2 = 0; led2_state = 0;
31 led2 = 1; led2_state = 1;
36 MBED_HOSTTEST_TIMEOUT(15);
37 MBED_HOSTTEST_SELECT(wait_us_auto);
38 MBED_HOSTTEST_DESCRIPTION(Ticker Int);
39 MBED_HOSTTEST_START("MBED_11");
43 flipper_1.attach(&flip_1, 1.0); // the address of the function to be attached (flip) and the interval (1 second)
44 flipper_2.attach(&flip_2, 2.0); // the address of the function to be attached (flip) and the interval (2 seconds)