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
Diff: SerialDevice.h
- Revision:
- 1:f74116b37bc9
- Parent:
- 0:5f7bc45bc2e8
--- a/SerialDevice.h Mon Jun 24 06:42:11 2013 +0000 +++ b/SerialDevice.h Mon Jul 08 07:14:30 2013 +0000 @@ -3,8 +3,13 @@ #include <stdint.h> +#define TIMEOUT 1 + + extern void(*SerialDevice_putc)(const char c); extern uint8_t(*SerialDevice_available)(); -extern char(*SerialDevice_getc)(); +extern uint8_t(*SerialDevice_getc)(); +extern int32_t INFINITE; +int8_t SerialDevice_read(uint8_t* buffer, const uint8_t size, const int32_t &wait_usec=INFINITE); #endif