/Designs/Measuring_instruments/AWS01B/SW/Python/AWS_read.py |
---|
8,7 → 8,11 |
from pymlab import config |
#uncomment for debbug purposes |
import logging |
logging.basicConfig(level=logging.DEBUG) |
#### Script Arguments ############################################### |
if len(sys.argv) != 2: |
22,7 → 26,10 |
#### Sensor Configuration ########################################### |
cfg = config.Config( |
port = port, |
i2c = { |
"port": port, |
}, |
bus = [ |
{ |
"type": "i2chub", |