summaryrefslogtreecommitdiff
path: root/motormixer.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2011-04-28 17:26:47 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2011-04-28 17:26:47 +0200
commit280d688219185a1079fc6e995658341c4a9127c5 (patch)
treec735b32f6af409e340399bf3288d51b45f6d9c05 /motormixer.h
parent35d6525048dd64bc51163402ee407cc0e164f7de (diff)
Move pwm output code into MotorMixer-class.
Diffstat (limited to 'motormixer.h')
-rw-r--r--motormixer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/motormixer.h b/motormixer.h
new file mode 100644
index 0000000..5ec1869
--- /dev/null
+++ b/motormixer.h
@@ -0,0 +1,12 @@
+#ifndef MOTORMIXER_H
+#define MOTORMIXER_H
+
+#include <stdint.h>
+
+class MotorMixer {
+ public:
+ void start();
+ void update(int16_t thrust, int16_t pitch, int16_t roll, int16_t yaw);
+};
+
+#endif