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

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

src/p/i/pifacedigitalio-HEAD/tests.testrig.py   pifacedigitalio(Download)
            for test_value in (1, 0):
                pifacedigitalio.digital_write(pin, test_value)
                v = pifacedigitalio.digital_read(7 - pin)
                self.assertEqual(test_value, v)