commit
motorsteuerung.cpp
- Committer:
- thorb3n
- Date:
- 2016-02-18
- Revision:
- 0:0d87637e83bb
File content as of revision 0:0d87637e83bb:
#include "pins.h" #include "mbed.h" #include "messen.h" PwmOut motor(PWM_PIN); void setSpeed(float pwm_value){ if(!getBreake()){ motor.write(getSpeed()); } }