Merge branch 'master' into enviro-non-plus
authorPhilip Howard <phil@pimoroni.com>
Mon, 2 Mar 2020 10:51:20 +0000 (10:51 +0000)
committerGitHub <noreply@github.com>
Mon, 2 Mar 2020 10:51:20 +0000 (10:51 +0000)
1  2 
examples/particulates.py
library/setup.cfg

diff --combined examples/particulates.py
index 28bb88eef9abd9622e263036164d642657d5c359,c1b3c6774a25eb22fa2579820a22d5f6db53da21..04a49500b0adfaa388ebd89c42be8a9578d7634f
@@@ -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 9375d3cd731ac07e98191cf60af390a167af43dc,c48c7badd908ec278ce053344f1396833130a9fa..362646dc46c7fed964cc06f098685fab0b69e927
@@@ -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