Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //file Motore.h
- /*Classe Motore
- ver 0.1
- 26/05/2017
- sergiocntr@gmail.com
- ****************
- Nel costruttore specificare i pin del sensore avanti e indietro
- ed i pin del movimento orario/antiorario e acceso/spento
- */
- #ifndef Motore_h
- #define Motore_h
- #include "Arduino.h"
- class Motore{
- public:
- Motore(int avPin,int indPin, int orAntiorPin, int onOffPin);
- void orario();
- void antiOrario();
- void spento();
- void acceso();
- int indPin();
- int avPin();
- private:
- int _avPin,_indPin,_orAntiorPin,_onOffPin;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement