From 280d688219185a1079fc6e995658341c4a9127c5 Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Thu, 28 Apr 2011 17:26:47 +0200 Subject: Move pwm output code into MotorMixer-class. --- motormixer.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 motormixer.h (limited to 'motormixer.h') 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 + +class MotorMixer { + public: + void start(); + void update(int16_t thrust, int16_t pitch, int16_t roll, int16_t yaw); +}; + +#endif -- cgit v1.2.3