Danielle Kruijver / Mbed 2 deprecated Daan_Test1_maxon

Dependencies:   mbed mbed-rtos

Revision:
1:822c609fb2ce
Parent:
0:785972ab5892
Child:
2:1117ce9d1867
--- a/main.cpp	Thu Apr 04 10:08:08 2019 +0000
+++ b/main.cpp	Fri Apr 05 12:12:24 2019 +0000
@@ -13,16 +13,8 @@
     can.frequency(250000);                                                      //NOG AANPASSEN IN EPOS COMPUTER PROGRAMMA ZODAT DE CAN FREQUENCY OP MOTORCONTROLLER OVEREENKOMT MET DIE VAN DE MASTER!! -> value 3
     pc.printf("startup: \r\n");   
     
-    thread.start(&epos,&EPOS::Homing);
-    Thread::wait(5);
-    
-    //maak specifier aan = commando om iets te doen
-    //EPOS * daan = new EPOS;
-    //while (N<100){
-    //    daan->EPOS();
-    //    N = N+1;
-    //}
-    
+    thread.start(&epos,&EPOS::Homing);                                          //start de functie Homing
+    Thread::wait(100); 
     
     
 }
\ No newline at end of file