From: Philip Howard Date: Mon, 2 Mar 2020 10:51:20 +0000 (+0000) Subject: Merge branch 'master' into enviro-non-plus X-Git-Url: https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git/commitdiff_plain/c8bf56890d0e7b6e7e1993e164f14d55d72f9544?ds=inline;hp=-c Merge branch 'master' into enviro-non-plus --- c8bf56890d0e7b6e7e1993e164f14d55d72f9544 diff --combined examples/particulates.py index 28bb88e,c1b3c67..04a4950 --- a/examples/particulates.py +++ b/examples/particulates.py @@@ -1,4 -1,4 +1,4 @@@ -#!/usr/bin/env python +#!/usr/bin/env python3 import time from pms5003 import PMS5003, ReadTimeoutError @@@ -23,7 -23,6 +23,6 @@@ try try: readings = pms5003.read() logging.info(readings) - time.sleep(1.0) except ReadTimeoutError: pms5003 = PMS5003() except KeyboardInterrupt: diff --combined library/setup.cfg index 9375d3c,c48c7ba..362646d --- a/library/setup.cfg +++ b/library/setup.cfg @@@ -33,10 -33,7 +33,11 @@@ install_requires ltr559 st7735 ads1015 - fonts - font-roboto - astral - pytz ++ fonts ++ font-roboto ++ astral ++ pytz + sounddevice [flake8] exclude = @@@ -55,13 -52,16 +56,16 @@@ py2deps python-numpy python-smbus python-pil + libportaudio2 py3deps = python3-pip python3-numpy python3-smbus python3-pil + libportaudio2 configtxt = dtoverlay=pi3-miniuart-bt + dtoverlay=adau7002-simple commands = printf "Setting up i2c and SPI..\n" raspi-config nonint do_spi 0