RTno is communicating library and framework which allows you to make your embedded device capable of communicating with RT-middleware world. RT-middleware is a platform software to realize Robotic system. In RTM, robots are developed by constructing robotics technologies\' elements (components) named RT-component. Therefore, the RTno helps you to create your own RT-component with your mbed and arduino. To know how to use your RTno device, visit here: http://ysuga.net/robot_e/rtm_e/rtc_e/1065?lang=en To know about RT-middleware and RT-component, visit http://www.openrtm.org

Dependencies:   EthernetInterface mbed-rtos

Revision:
6:86d72601ff54
Parent:
0:5f7bc45bc2e8
--- a/RTno.h	Mon Jul 08 13:09:22 2013 +0000
+++ b/RTno.h	Thu Aug 29 05:26:09 2013 +0000
@@ -17,7 +17,7 @@
 
 
 #define USE_UART_CONNECTION
-#define USE_ETHERNET_CONNECTION
+//#define USE_ETHERNET_CONNECTION
 #define USE_TIMER1_EC
 
 #include "mbed.h"
@@ -32,7 +32,7 @@
 
 #ifdef USE_ETHERNET_CONNECTION
 #include "EtherTcp.h"
-#include "EthernetNetIf.h"
+#include "EthernetInterface.h"
 #endif
 
 #ifdef USE_TIMER1_EC
@@ -132,10 +132,10 @@
   switch(conf._default.connection_type) {
 #ifdef USE_ETHERNET_CONNECTION
   case ConnectionTypeEtherTcp:
-    EtherTcp_init((uint8_t*)&conf._default.mac_address,
-          (uint8_t*)&conf._default.ip_address,
-          (uint8_t*)&conf._default.default_gateway,
-          (uint8_t*)&conf._default.subnet_mask,
+    EtherTcp_init(//(uint8_t*)&conf._default.mac_address,
+          conf._default.ip_address,
+          conf._default.default_gateway,
+          conf._default.subnet_mask,
               conf._default.port);
     break;
 #endif // USE_ETHERNET_CONNECTION
@@ -164,9 +164,6 @@
 int main(void) {
     setup();
     while(1) {
-#ifdef USE_ETHERNET_CONNECTION
-        Net::poll();
-#endif
         loop();
     }
 }