Skip to content

Remove more references to temperature property #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2019

Conversation

caternuson
Copy link
Contributor

Hopefully found them all. All the stuff in adafruit_ccs811.py is fine. Removed other mentions from README.rst and setup.py.

~/Adafruit_CircuitPython_CCS811$ grep -i -r "temperature" *
adafruit_ccs811.py:    """Temperature offset."""
adafruit_ccs811.py:    def temperature(self):
adafruit_ccs811.py:        Temperature based on optional thermistor in Celsius."""
adafruit_ccs811.py:    def set_environmental_data(self, humidity, temperature):
adafruit_ccs811.py:        """Set the temperature and humidity used when computing eCO2 and TVOC values.
adafruit_ccs811.py:        :param float temperature: The current temperature in Celsius."""
adafruit_ccs811.py:        # Temperature is stored as an unsigned 16 bits integer in 1/512 degrees
adafruit_ccs811.py:        # 0x00. As an example 23.5% temperature would be 0x61, 0x00.
adafruit_ccs811.py:        temperature = int((temperature + 25) * 512)
adafruit_ccs811.py:        struct.pack_into(">HH", buf, 1, humidity, temperature)
README.rst:To read the gas sensor and temperature simply read the attributes:
README.rst:    print("CO2: ", ccs.eco2, " TVOC:", ccs.tvoc, " temp:", ccs.temperature)
setup.py:    keywords='adafruit air quality voc eco2 temperature breakout hardware micropython circuitpython',

@caternuson caternuson mentioned this pull request Jul 25, 2019
@ladyada ladyada merged commit 021a42b into adafruit:master Jul 25, 2019
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Aug 23, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_ADS1x15 to 2.1.1 from 2.1.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_ADS1x15#37 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_ADT7410 to 1.0.1 from 1.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_ADT7410#3 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_APDS9960 to 1.2.4 from 1.2.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_APDS9960#13 from tannewt/remove_stop
  > Merge pull request adafruit/Adafruit_CircuitPython_APDS9960#12 from s-light/patch-1

Updating https://github.com/adafruit/Adafruit_CircuitPython_BNO055 to 3.1.1 from 3.1.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_BNO055#36 from tannewt/remove_stop
  > Merge pull request adafruit/Adafruit_CircuitPython_BNO055#31 from peterhinch/rename-reset

Updating https://github.com/adafruit/Adafruit_CircuitPython_CAP1188 to 1.1.2 from 1.1.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_CAP1188#10 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_CCS811 to 1.1.6 from 1.1.5:
  > Merge pull request adafruit/Adafruit_CircuitPython_CCS811#34 from tannewt/remove_stop
  > Merge pull request adafruit/Adafruit_CircuitPython_CCS811#32 from caternuson/minor_tweaks
  > Merge pull request adafruit/Adafruit_CircuitPython_CCS811#31 from caternuson/fix_lint
  > Merge pull request adafruit/Adafruit_CircuitPython_CCS811#30 from caternuson/remove_temp

Updating https://github.com/adafruit/Adafruit_CircuitPython_DRV2605 to 1.0.3 from 1.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_DRV2605#16 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 1.9.0 from 1.8.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#67 from brentru/add-get-time

Updating https://github.com/adafruit/Adafruit_CircuitPython_FRAM to 1.2.4 from 1.2.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_FRAM#10 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_FXAS21002C to 2.0.0 from 1.2.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_FXAS21002C#8 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_FXOS8700 to 2.0.0 from 1.2.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_FXOS8700#11 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_LSM9DS1 to 2.0.4 from 2.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_LSM9DS1#15 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_MCP9808 to 3.2.3 from 3.2.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_MCP9808#18 from tannewt/remove_stop
  > Merge pull request adafruit/Adafruit_CircuitPython_MCP9808#17 from adafruit/revert-16-add-blinka-to-requirements-txt
  > Merge pull request adafruit/Adafruit_CircuitPython_MCP9808#16 from demophoon/add-blinka-to-requirements-txt

Updating https://github.com/adafruit/Adafruit_CircuitPython_MLX90393 to 1.3.1 from 1.3.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_MLX90393#11 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_MPR121 to 2.0.3 from 2.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_MPR121#19 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_SI7021 to 3.1.4 from 3.1.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_SI7021#13 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_TCS34725 to 3.2.2 from 3.2.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_TCS34725#22 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_TMP006 to 2.0.0 from 1.0.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_TMP006#5 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_TMP007 to 2.0.0 from 1.0.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_TMP007#5 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_TSL2561 to 3.2.2 from 3.2.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_TSL2561#25 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_TSL2591 to 1.1.3 from 1.1.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_TSL2591#10 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_BusDevice to 4.0.0 from 3.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_BusDevice#30 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_Register to 1.7.2 from 1.7.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_Register#27 from tannewt/remove_stop

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Added the following libraries: Adafruit_CircuitPython_JWT, Adafruit_CircuitPython_NTP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants