Debian Codegraph @

eyes17/examples/measure_RandC.py

raw
1 '''
2 Measures capacitance in the range of pico Farads
3 '''
4
5 from __future__ import print_function
6 import eyes17.eyes
7 p = eyes17.eyes.open()
8
9 #connect Capacitor from IN1 to GND
10 print (p.get_capacitance())
11
12 #connect an LDR from SEN to GND
13 print (p.get_resistance())
14