Shop OBEX P1 Docs P2 Docs Learn Events
USB support under linux — Parallax Forums

USB support under linux

corboticscorbotics Posts: 2
edited 2008-08-12 02:52 in BASIC Stamp
I'm attempting to communicate with the basic stamp under a linux OS. I've already grabbed the utility provided by Bill Kendrick et al at http://bstamp.sourceforge.net/ but this code uses a serial port and I've got the new-fangled USB boards. Is there a code out there that will tokenize and send a pbasic program to the basic stamp via a usb connection? Thanks in advance.

Comments

  • allanlane5allanlane5 Posts: 3,815
    edited 2008-08-11 18:48
    When you plug in the USB board, the driver (which you should have pre-loaded) makes the board look like an attached serial port -- so the Linux serial port code should still work.
  • corboticscorbotics Posts: 2
    edited 2008-08-12 02:52
    Thanks for the help. Shortly after I posted I discovered that the only modification required was to link to /dev/ttyUSB0 instead of /dev/ttyS0. I was frankly amazed how simple it turned out to be.
Sign In or Register to comment.