aboutsummaryrefslogtreecommitdiffstats
path: root/demos/mandelbrot/main.c
diff options
context:
space:
mode:
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) {
+
+ }
+}
+