Hi every one,
I use tinyg2 to control five motors on an robot arm using PC and a small software that open two communication ports to talk with G2, now I try to use a standalone terminal with Host usb port instead of PC solution. My limitation is my USB Host CDC library on the terminal side don’t support more than one instance ( no support for mixed or multi end point USB class), I tried commenting and uncommenting some lines in main.cpp and xio.h files but no success ( many compilation errors) !
//Motate::USBDevice< Motate::USBCDC > usb;
Motate::USBDevice< Motate::USBCDC, Motate::USBCDC > usb;
decltype(usb._mixin_0_type::Serial) &SerialUSB = usb._mixin_0_type::Serial;
decltype(usb._mixin_1_type::Serial) &SerialUSB1 = usb._mixin_1_type::Serial;
Is there any way to do that with the actual G2 edge firmware ?
Any suggestion will be highly appreciated.
Thank you in advance.
-
This topic was modified 8 years, 4 months ago by saci.