does one exsist that helps communicate with the usb and/or serial port?
if so where can it be found?

thanks

03-12-2004

Salem

Which OS/Compiler?

03-12-2004

revelation437

microsoft visual studio.net
or
dev c++ for windows or gcc or linux (but im using cygwin so i dunno if its a TRUE linux evniornment)

03-12-2004

DougDbug

The serial port isn't too hard. I don't have a reference at-hand, but as I recall, with Windows, you can open the port as a file. Try searching the board. There was a post about this awhile back. Any of the Windows "beyond" Win98 will block direct user-mode access to hardware addresses. So, I think opening the port as a file gets-around this.

USB is another story. You have to write a driver, and this is advanced shtuff. I've never done it. (Again for Windows) You have to get the DDK (Driver Development Kit) and use the compiler & libraries that come with the DDK to write a kernel mode driver.

There is a good introductory article about USB drivers in the current issue of Dr.Dobbs Journal. (That's NOT a link to the article... it's not online free. :( )