jputcu / serialport

Cross platform haskell library for using the serial port
Other
43 stars 36 forks source link

Add support for com ports >COM9 on windows #7

Closed metametaclass closed 13 years ago

metametaclass commented 13 years ago

To open com ports with names greater than 9 on windows, port name should be passed to CreateFile in form: .\COMn

openSerial dev settings = do

jputcu commented 13 years ago

I documented you could use extra backslashes when passing the COM-port, but adding it by default is a good suggestion, thanks.