docs: Added intial documentation for UPM and start of a porting walkthrough

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-06-13 11:53:51 +01:00
parent 186dd03b79
commit e24df89ebd
7 changed files with 152 additions and 9 deletions

View File

@ -34,11 +34,12 @@ main(int argc, char **argv)
//! [Interesting]
upm::ES08A *servo = new upm::ES08A(5);
servo->setAngle (180);
//! [Interesting]
servo->setAngle (90);
servo->setAngle (0);
servo->setAngle (90);
servo->setAngle (180);
//! [Interesting]
std::cout << "exiting application" << std::endl;