7 #include "host_driver.h"
8 #include "mbed_driver.h"
11 // Button and LEDs of LPC11U35 board
12 DigitalIn isp(P0_1); // ISP button
13 DigitalOut led_red(P0_20);
14 DigitalOut led_green(P0_21);
23 host_set_driver(&mbed_driver);
26 //debug_enable = true;
27 xprintf("mbed_onekey ver.eee:\r\n");
34 //led_green = !led_green;
35 if (last_isp == isp) continue;
39 dprintf("timer: %i\r\n", timer_read());
40 //register_code(KC_A);
43 //unregister_code(KC_A);