ThinkingSkins - MossSolar Facade  Version 1.0
 All Classes Files Functions Variables Pages
TM_motorDriver.h
1 
2 #ifndef TM_MOTORDRIVER_H
3 #define TM_MOTORDRIVER_H
4 
5 #if (ARDUINO >= 100)
6  #include <Arduino.h>
7 #else
8  #include <WProgram.h>
9  #include <pins_arduino.h>
10 #endif
11 
12 #include "defines.h"
13 
15  public:
16  // Constructor
18  void
19  setup(),
20  loop(),
21  setPanels(char pSideA, char pSideB, char pSideC),
22  calibrate();
23 
24  private:
25  void
26  turnMotorA(),
27  turnMotorB(),
28  turnMotorC(),
29  saveTurns(char pSideA, char pSideB, char pSideC),
30  loadTurns(),
31  stopCalibration(),
32  setMotorA(char pSide),
33  setMotorB(char pSide),
34  setMotorC(char pSide);
35 };
36 #endif
void loop()
heck each loop-tick if a motor has to be turned.
Definition: TM_motorDriver.cpp:75
void setPanels(char pSideA, char pSideB, char pSideC)
Turns the choosen layer of the panels to the frondside.
Definition: TM_motorDriver.cpp:166
void calibrate()
Syncronize all panels to the neutral setting.
Definition: TM_motorDriver.cpp:208
void setup()
Initializes the pins for the motordrivers and set them to a defined state. Please call calibrateMotor...
Definition: TM_motorDriver.cpp:42
Definition: TM_motorDriver.h:14