commit

Revision:
0:0d87637e83bb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/motorsteuerung.cpp	Thu Feb 18 14:58:28 2016 +0000
@@ -0,0 +1,10 @@
+#include "pins.h"
+#include "mbed.h"
+#include "messen.h"
+PwmOut motor(PWM_PIN);
+
+void setSpeed(float pwm_value){
+  if(!getBreake()){
+    motor.write(getSpeed());
+  }
+}
\ No newline at end of file