Library for the MMA7660 triple axis accelerometer

Dependents:   switches

Fork of MMA7660 by Erik -

Files at this revision

API Documentation at this revision

Comitter:
ksaito
Date:
Wed Feb 21 09:13:06 2018 +0000
Parent:
4:36a163511e34
Child:
6:d415927d3027
Commit message:
?????????

Changed in this revision

commands.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/commands.cpp	Wed Feb 21 09:13:06 2018 +0000
@@ -0,0 +1,18 @@
+#include "mbed.h"
+#include "commands.h"
+
+extern COMMAND_DEFINE   Command_color;
+extern COMMAND_DEFINE   Command_led3;
+extern COMMAND_DEFINE   Command_sound;
+extern COMMAND_DEFINE   Command_accel;
+extern COMMAND_DEFINE   Command_liner;
+
+/* コマンド定義リスト */
+COMMAND_DEFINE *commandList[] = {
+    &Command_color,
+    &Command_led3,
+    &Command_sound,
+    &Command_accel,
+    &Command_liner,
+    NULL,
+};