Shop OBEX P1 Docs P2 Docs Learn Events
Programming a Boe-Bot using C++ or C# — Parallax Forums

Programming a Boe-Bot using C++ or C#

Twilight_AngelTwilight_Angel Posts: 11
edited 2009-05-01 00:12 in Learn with BlocklyProp
I have two Boe-Bots with a RF Transmitter/Receiver package. One of the Boe-Bots will send a signal to the receiver which will be connected to my laptop. Once it receives a signal, I need it to open a *.exe file.

If anyone has any suggestions, it would be very helpful.

Thanks

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2009-04-30 22:38
    You will need some kind of program running on the laptop that listens to the receiver's serial port output for some specific signal (character sequence or bit sequence), then calls windows to start your *.exe file. This could be done using C++ or C#, but that sort of programming is beyond the scope of these forums. From the BoeBot end, it's very simple. It just has to send some kind of character sequence (really anything that's complex enough to not be confused with noise or interference) using a SEROUT statement as shown in the Transmitter / Receiver documentation.
  • Twilight_AngelTwilight_Angel Posts: 11
    edited 2009-05-01 00:01
    Could you use JAVA and the Javelin Stamp Module?
  • FranklinFranklin Posts: 4,747
    edited 2009-05-01 00:12
    All you need to do is send serial data to your laptop so I think you could do that with the javelin stamp. If you plan to go that route there is a forum specifically for the javelin stamp

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
Sign In or Register to comment.