mit Buttons/PWM als einzelne cpp und init in main

Dependencies:   mbed mbed-rtos X_NUCLEO_IHM02A1

PWM2.cpp

Committer:
scherfa2
Date:
2019-04-24
Revision:
34:0dee9a606869

File content as of revision 34:0dee9a606869:

#include "SETUP.h"


extern PwmOut Servo;

void ServoAusschuss(float periode, float duty)
{
    Servo.period(periode);
    Servo = duty;
}