Python class to communicate with usb/serial/ftdi haptic devices
ìmport multicom.com as com
HAPTICDEV = com.HDevice("ftdi")
HAPTICDEV = com.HDevice("COM8")
HAPTICDEV.launch() #starts the read/write threads on a different process
Return raw data
Return a bytearray of desired size
Read a sequence of "float separator float separator ..." of desired size
convert to send to an int and send
HAPTICDEV.quit() # stops the threads