aboutsummaryrefslogtreecommitdiffstats
path: root/demos/mandelbrot/main.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-10-23 22:44:54 +0200
committerJoel Bodenmann <joel@unormal.org>2012-10-23 22:44:54 +0200
commit1909342055302601407dc45fcaec46fc014fa044 (patch)
tree3dd55bc2dab6e204a5d2b837aec28a06af1ad01f /demos/mandelbrot/main.c
parent216c5471caa27afd393fcb98a62a3b9eab02863c (diff)
downloaduGFX-1909342055302601407dc45fcaec46fc014fa044.tar.gz
uGFX-1909342055302601407dc45fcaec46fc014fa044.tar.bz2
uGFX-1909342055302601407dc45fcaec46fc014fa044.zip
added mandelbrot demo
Diffstat (limited to 'demos/mandelbrot/main.c')
-rw-r--r--demos/mandelbrot/main.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/demos/mandelbrot/main.c b/demos/mandelbrot/main.c
new file mode 100644
index 00000000..a726320e
--- /dev/null
+++ b/demos/mandelbrot/main.c
@@ -0,0 +1,18 @@
+#include "ch.h"
+#include "hal.h"
+#include "gdisp.h"
+
+int main(void) {
+ halInit();
+ chSysInit();
+
+ gdispInit();
+ gdispSetOrientation(GDISP_ROTATE_270);
+
+ mandelbrotInit(50, 50, 512);
+
+ while(TRUE) {
+
+ }
+}
+