//Designs/Measuring_instruments/ISMS01A/SW/button/button_monitor.py
14,7 → 14,7
print "Product: %s" % h.get_product_string()
print "Serial No: %s" % h.get_serial_number_string()
 
h.write([0x02, 0b00000010, 0x00, 0x00, 0x00]) # setup io pin direction
h.write([0x02, 0b00000110, 0x00, 0x00, 0x00]) # setup io pin direction
sleep( 1.00 )