Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/p/y/py-ninja-HEAD/examples/multiple_devices_with_nodes.py   py-ninja(Download)
# a wrapper around the Watcher that adapts it to Nodes.
from ninja.api      import NinjaAPI
from ninja.nodes    import (
    AccelerometerNode,
    And,
# Create an And node to join the temperature and orientation data together.
#   [6]
and_node = And()
#       [D,E]
and_node.i.connect(temp_node.o, accel_node.o)