Programabilno vođenje DC motora

DCMotor_seminarski.h

Committer:
Josip
Date:
2016-02-14
Revision:
0:111d0d8f408d

File content as of revision 0:111d0d8f408d:

#ifndef MBED_DCMotor_seminarski_H
#define MBED_DCMotor_seminarski_H

#include "mbed.h"

class Motor{
    public:
    Motor(PinName naprijed, PinName nazad);
    void naprijedbrzo();
    void naprijedsporo();
    void nazadbrzo();
    void nazadsporo();
    void naprijedrampa();
    void stop();
    
    private:
     PwmOut _naprijed;
    PwmOut _nazad;
};

#endif