aboutsummaryrefslogtreecommitdiffstats
path: root/cube_pc_test1/cube.h
diff options
context:
space:
mode:
Diffstat (limited to 'cube_pc_test1/cube.h')
-rw-r--r--cube_pc_test1/cube.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/cube_pc_test1/cube.h b/cube_pc_test1/cube.h
new file mode 100644
index 0000000..bac730e
--- /dev/null
+++ b/cube_pc_test1/cube.h
@@ -0,0 +1,25 @@
+
+#define AXIS_X 0x78
+#define AXIS_Y 0x79
+#define AXIS_Z 0x7a
+
+#define CUBE_SIZE 8
+
+int LED_PORT;
+int LED_RED;
+int LED_GREEN;
+
+volatile unsigned char cube[8][8];
+volatile unsigned char rs232_cube[8][8];
+unsigned char fb[8][8];
+
+int tty;
+
+// FILE *ftty;
+
+// func dsfs
+void cube_putchar (unsigned char data);
+int cube_init (const char* tty_path);
+void cube_push (unsigned char data[8][8]);
+
+