Statistics: Posted by Alan — Tue Nov 17, 2015 8:08 pm
Statistics: Posted by Alan — Wed Oct 07, 2015 5:56 pm
Statistics: Posted by cchd — Wed Sep 30, 2015 8:38 pm
Statistics: Posted by Alan — Mon Sep 28, 2015 6:32 pm
Statistics: Posted by Alan — Mon Sep 28, 2015 6:27 pm
firmata = PyMata( SERIAL_PORT, max_wait_time=5 )
firmata.set_pin_mode( LDR, firmata.INPUT, firmata.ANALOG)
firmata.set_pin_mode( Temp, firmata.INPUT, firmata.ANALOG)
firmata.set_pin_mode( Depth, firmata.INPUT, firmata.ANALOG)
LDR_value=firmata.analog_read( LDR )
time.sleep( DR_delay)
LDR_value=firmata.analog_read( LDR )
time.sleep( MUX_delay )
Temp_value=firmata.analog_read( Temp )
time.sleep( DR_delay )
Temp_value=firmata.analog_read( Temp )
time.sleep( MUX_delay )
Depth_value=firmata.analog_read( Depth )
time.sleep( DR_delay )
Depth_value=firmata.analog_read( Depth )
firmata.digital_write( Temp, firmata.HIGH )
Statistics: Posted by cchd — Fri Sep 25, 2015 8:58 am
Statistics: Posted by Alan — Wed Aug 26, 2015 5:42 pm
Statistics: Posted by victagayun — Tue Aug 25, 2015 10:46 pm
Statistics: Posted by victagayun — Tue Aug 25, 2015 4:06 pm
Statistics: Posted by Alan — Mon Jan 05, 2015 8:05 pm
Statistics: Posted by arnoldbail — Sat Jan 03, 2015 4:54 pm
Statistics: Posted by Alan — Mon Dec 29, 2014 12:53 pm
Statistics: Posted by Maximus789 — Sun Dec 28, 2014 11:54 pm
Statistics: Posted by Alan — Mon Dec 22, 2014 3:22 pm