Classes | Functions | Variables
demo Namespace Reference

Classes

class  PipetteInfoOutput
class  PipetteOutputHeader

Functions

def convert_hex
def convert_str
def hex_to_short
def make_action_msg
def make_msg
def make_voyager_move
def print_hex
def print_hex_msg
def recv_msg
def send_msg

Variables

string bd_addr = "00:80:98:e6:2b:30"
tuple data = sock.recv(1024)
tuple h = recv_msg(sock)
tuple i = PipetteInfoOutput(h)
int port = 1
int seqnum = 1
tuple sock = bluetooth.BluetoothSocket( bluetooth.RFCOMM )

Function Documentation

def demo.convert_hex (   data)

Definition at line 82 of file demo.py.

def demo.convert_str (   data)

Definition at line 76 of file demo.py.

def demo.hex_to_short (   data)

Definition at line 88 of file demo.py.

def demo.make_action_msg (   action,
  speed,
  stops,
  do_blowout,
  mix_cycles 
)

Definition at line 109 of file demo.py.

def demo.make_msg (   typ,
  body 
)

Definition at line 92 of file demo.py.

def demo.make_voyager_move (   position)

Definition at line 119 of file demo.py.

def demo.print_hex (   data)

Definition at line 38 of file demo.py.

def demo.print_hex_msg (   data)

Definition at line 45 of file demo.py.

def demo.recv_msg (   sock)

Definition at line 173 of file demo.py.

def demo.send_msg (   sock,
  data 
)

Definition at line 168 of file demo.py.


Variable Documentation

string demo::bd_addr = "00:80:98:e6:2b:30"

Definition at line 187 of file demo.py.

tuple demo::data = sock.recv(1024)

Definition at line 198 of file demo.py.

tuple demo::h = recv_msg(sock)

Definition at line 202 of file demo.py.

Definition at line 203 of file demo.py.

int demo::port = 1

Definition at line 188 of file demo.py.

int demo::seqnum = 1

Definition at line 91 of file demo.py.

tuple demo::sock = bluetooth.BluetoothSocket( bluetooth.RFCOMM )

Definition at line 193 of file demo.py.



pipette_driver
Author(s): Kevin Watts
autogenerated on Tue Dec 10 2013 15:49:44