From e7f0c8e2c2791fd2e571c762f03e277161f98a4b Mon Sep 17 00:00:00 2001 From: Tectu Date: Mon, 13 Aug 2012 02:51:30 +0200 Subject: added lcd demo dummy --- demos/lcd/main.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 demos/lcd/main.c (limited to 'demos/lcd/main.c') diff --git a/demos/lcd/main.c b/demos/lcd/main.c new file mode 100644 index 00000000..99b87948 --- /dev/null +++ b/demos/lcd/main.c @@ -0,0 +1,19 @@ +#include "ch.h" +#include "hal.h" +#include "gdisp.h" + +int main(void) { + halInit(); + chSysInit(); + + gdispInit(); + gdispClear(Black); + + // gdispDrawXXX(...); + + while (TRUE) { + + chThdSleepMilliseconds(100); + } +} + -- cgit v1.2.3 From 975faaab679c7a872e0390ac533abf79b08dedbf Mon Sep 17 00:00:00 2001 From: Tectu Date: Tue, 14 Aug 2012 01:58:24 +0200 Subject: demos license header --- demos/lcd/main.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'demos/lcd/main.c') diff --git a/demos/lcd/main.c b/demos/lcd/main.c index 99b87948..aec1b9ab 100644 --- a/demos/lcd/main.c +++ b/demos/lcd/main.c @@ -1,3 +1,23 @@ +/* + ChibiOS-LCD-Driver - Copyright (C) 2012 + Joel Bodenmann aka Tectu + + This file is part of ChibiOS-LCD-Driver. + + ChibiOS-LCD-Driver is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + ChibiOS-LCD-Driver is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + #include "ch.h" #include "hal.h" #include "gdisp.h" -- cgit v1.2.3