From 4e1ce86af16307bf7d42657db07600867c7c4bbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 30 Jun 2016 17:18:49 +0200 Subject: Add some more progress and split non-core functionality to separate repo More progress to implementation and some changes in project it self. This library will implement only drivers for features on chip but nothing else. Everything connected externally is now in separate repository. --- examples/blink/blink.c | 6 +++--- examples/blink/build/config.h | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 examples/blink/build/config.h (limited to 'examples/blink') diff --git a/examples/blink/blink.c b/examples/blink/blink.c index 8386d4b..6a81aee 100644 --- a/examples/blink/blink.c +++ b/examples/blink/blink.c @@ -3,12 +3,12 @@ #include int main() { - io_setout(IO_B3); + io_setout(IO_B0); while (1) { - io_hight(IO_B3); + io_hight(IO_B0); _delay_ms(500); - io_low(IO_B3); + io_low(IO_B0); _delay_ms(500); } } diff --git a/examples/blink/build/config.h b/examples/blink/build/config.h new file mode 100644 index 0000000..5fff870 --- /dev/null +++ b/examples/blink/build/config.h @@ -0,0 +1 @@ +#define CONFIG_IOPORTS y -- cgit v1.2.3