tarou yamada / Mbed 2 deprecated OBROT_ALL

Dependencies:   Command Math OBROT RobotBase ShootingSystem Steering mbed

Files at this revision

API Documentation at this revision

Comitter:
inst
Date:
Thu Oct 15 08:24:13 2015 +0000
Parent:
2:93fc2fe72fdb
Child:
4:9c2f15b500ab
Commit message:
last update

Changed in this revision

OBROT.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/OBROT.lib	Wed Oct 14 12:57:58 2015 +0000
+++ b/OBROT.lib	Thu Oct 15 08:24:13 2015 +0000
@@ -1,1 +1,1 @@
-https://developer.mbed.org/users/inst/code/OBROT/#4877273ec8cc
+https://developer.mbed.org/users/inst/code/OBROT/#cefcd4cb1777
--- a/main.cpp	Wed Oct 14 12:57:58 2015 +0000
+++ b/main.cpp	Thu Oct 15 08:24:13 2015 +0000
@@ -1,11 +1,8 @@
 #include "OBROT.h"
 
 int main(){
-    OBROT::create();
-    OBROT* instance = OBROT::getInstance();
-    
     while ( true ){
-        instance->update();
+        OBROT::getInstance()->update();
     }
     
     return 0;