コード例 #1
0
ファイル: fast_data.py プロジェクト: scottcarr/wind
def init_fast():
    for l in labels:
        create_source(l)
    cond = lambda: True # this generator should always fire
    add_generator(fast_read(), cond)
コード例 #2
0
ファイル: wind_monitor.py プロジェクト: scottcarr/wind
def init_wind_monitor():
    create_source(label)
    add_generator(speed_detection(), cond)