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

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

src/p/y/PyMata-HEAD/examples/pymata_software_data_latch.py   PyMata(Download)
 
# get and print the analog data latched data
a_latch = firmata.get_analog_latch_data(POTENTIOMETER)
print a_latch
# print gmtime for the time stamp
time.sleep(2)
print firmata.get_digital_latch_data(BUTTON_SWITCH)
print firmata.get_analog_latch_data(POTENTIOMETER)
 
firmata.close()