sketchbook
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Namespaces | Functions | Variables
owgeneric_arduino.py File Reference

Namespaces

 owgeneric_arduino
 

Functions

def owgeneric_arduino.debug
 
def owgeneric_arduino.init
 
def owgeneric_arduino.write
 
def owgeneric_arduino.read
 
def owgeneric_arduino.pack_val
 
def owgeneric_arduino.unpack_val
 
def owgeneric_arduino.receive_data
 
def owgeneric_arduino.read_slave_sensors
 
def owgeneric_arduino.get_slaves
 

Variables

string owgeneric_arduino.ow_root = "/mnt/1wire/"
 
string owgeneric_arduino.owgeneric_root = "/mnt/1wire-generic/"
 
tuple owgeneric_arduino.offset = int(time.mktime(time.strptime("Thu Jan 1 00:00:00 1970", "%a %b %d %H:%M:%S %Y")))
 
 owgeneric_arduino.__debug = False
 
list owgeneric_arduino.slaves = []
 
tuple owgeneric_arduino.slaves_old = os.listdir(owgeneric_root)
 
tuple owgeneric_arduino.min_mtime = time.time()
 
list owgeneric_arduino.process_slaves = []
 
tuple owgeneric_arduino.dev = os.path.join(owgeneric_root, slave)
 
tuple owgeneric_arduino.fn = os.path.join(dev, "all")
 
tuple owgeneric_arduino.f = open(fn, "w")
 
tuple owgeneric_arduino.tic = time.time()
 
tuple owgeneric_arduino.toc = time.time()
 
tuple owgeneric_arduino.err_count = int(f.read())
 
list owgeneric_arduino.data = [ (err_count+1,) ]
 
string owgeneric_arduino.fn_temp = fn+"-"