[Haskell-cafe] USB and serial port

Marc Weber marco-oweber at gmx.de
Thu Aug 7 03:40:52 EDT 2008


On Wed, Aug 06, 2008 at 06:11:50PM -0300, Maurí­cio wrote:
>  Hi,
> 
>  What are the alternatives to read
>  a USB port (actually, a COM serial
>  port with an USB adapter) in
>  Haskell, running in Linux?

Just be aware that the USB-serial converter can be polled only every ms.
So if you have really time critical applications you may see some
porblems. I've spend days no knowing why I wasn't able to program a avr
microcontroller till trying a real serial device (without USB) and it
suddenly worked.. So if someting does'nt work maybe try a real serial
interface first :)

Marc


More information about the Haskell-Cafe mailing list