diff --git a/native/board.h b/native/board.h new file mode 100644 index 0000000000..71afb726ce --- /dev/null +++ b/native/board.h @@ -0,0 +1,22 @@ +/** + * Native Board interface + * + * Copyright (C) 2013 Ludwig Ortmann + * + * This file subject to the terms and conditions of the GNU General Public + * License. See the file LICENSE in the top level directory for more details. + * + * @ingroup native + * @{ + * @file + * @author Ludwig Ortmann + * @} + */ + +void LED_GREEN_OFF(void); +void LED_GREEN_ON(void); +void LED_GREEN_TOGGLE(void); +void LED_RED_OFF(void); +void LED_RED_ON(void); +void LED_RED_TOGGLE(void); + diff --git a/native/native-led.c b/native/native-led.c new file mode 100644 index 0000000000..2ee9d4979b --- /dev/null +++ b/native/native-led.c @@ -0,0 +1,49 @@ +/** + * Native Board LED implementation + * + * Copyright (C) 2013 Ludwig Ortmann + * + * This file subject to the terms and conditions of the GNU General Public + * License. See the file LICENSE in the top level directory for more details. + * + * @ingroup native + * @{ + * @file + * @author Ludwig Ortmann + * @} + */ + +#include + +#include "board.h" + +void LED_GREEN_OFF(void) +{ + printf("LED_GREEN_OFF\n"); +} + +void LED_GREEN_ON(void) +{ + printf("LED_GREEN_ON\n"); +} + +void LED_GREEN_TOGGLE(void) +{ + printf("LED_GREEN_TOGGLE\n"); +} + +void LED_RED_OFF(void) +{ + printf("LED_RED_OFF\n"); +} + +void LED_RED_ON(void) +{ + printf("LED_RED_ON\n"); +} + +void LED_RED_TOGGLE(void) +{ + printf("LED_RED_TOGGLE\n"); +} +