Shop OBEX P1 Docs P2 Docs Learn Events
how to get basic stamp to communicate with python — Parallax Forums

how to get basic stamp to communicate with python

amandeep1amandeep1 Posts: 2
edited 2009-06-07 18:35 in BASIC Stamp
this is a very simple project. what i am trying to do is use twitter to communicate with python and python serial library to communicate with basic stamp to turn a simple LED on and off.

so i far i have figured out how to get twitter and python communicating with each other but i have no idea how serials work but i have a basic stamp 2 MC with a serial port so can anyone please help me or show me some examples.

Comments

  • FranklinFranklin Posts: 4,747
    edited 2009-06-07 01:10
    Find out how python sends serial data to the com port and then set it up to send to the one connected to the stamp. there is a module called pyserial, check it out.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • amandeep1amandeep1 Posts: 2
    edited 2009-06-07 01:29
    yeah i have pyserial i just dont know how to do it
  • FranklinFranklin Posts: 4,747
    edited 2009-06-07 18:35
    http://pyserial.wiki.sourceforge.net/pySerial·should help

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