servo: removed defines from es08a and made engine move smoothly

Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com>
This commit is contained in:
Kiveisha Yevgeniy
2014-06-12 15:26:01 +00:00
parent 0050f92b06
commit 186dd03b79
5 changed files with 110 additions and 41 deletions

View File

@@ -30,8 +30,10 @@
using namespace upm;
ES08A::ES08A (int pin) : Servo(pin) {
m_name = "ES08A";
m_maxAngle = 180.0;
m_name = "ES08A";
m_maxAngle = 180.0;
m_minPulseWidth = 600;
m_maxPulseWidth = 2200;
}
ES08A::~ES08A() {