docs: Added intial documentation for UPM and start of a porting walkthrough
[contrib/upm.git] / examples / es08a.cxx
index 6fa1026..6abcb07 100644 (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;