Shop OBEX P1 Docs P2 Docs Learn Events
Monitoring stamp 2 usb port with C++ or Autohotkey — Parallax Forums

Monitoring stamp 2 usb port with C++ or Autohotkey

OldRexOldRex Posts: 2
edited 2012-05-05 21:51 in BASIC Stamp
I am going to attach a laser tripwire to my stamp 2 for lap timing an rc car. I would like to monitor its ports using Autohotkey or C++. Does anyone have a solution to this problem?

Comments

  • FranklinFranklin Posts: 4,747
    edited 2012-05-05 13:51
    Could you explain the idea in more detail? The stamp could detect the trip but what do you want it to do from there? It can send serial data to the computer and you can handle that any way you want. For direct communications you might be better off with the propellers abilities.
  • OldRexOldRex Posts: 2
    edited 2012-05-05 18:20
    I would like to monitor the serial port with Autohotkey software, but can not find any code examples that show how to monitor the serial port..
  • FranklinFranklin Posts: 4,747
    edited 2012-05-05 21:51
    You use DEBUG or SEROUT to send data from the stamp and a program on the PC that monitors the serial port. Most terminal programs will do that along with the Stamp editor and the Parallax Serial Terminal program
Sign In or Register to comment.