Skip to content

Fix conversion factor #11

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
Sep 18, 2019
Merged

Fix conversion factor #11

merged 1 commit into from
Sep 18, 2019

Conversation

caternuson
Copy link
Contributor

Simply typo fix for #10.

BEFORE

>>> import board, busio, digitalio
>>> import adafruit_max31855
>>> spi = busio.SPI(board.D13, board.D12, None)
>>> cs =digitalio.DigitalInOut(board.D5)
>>> max31855 = adafruit_max31855.MAX31855(spi, cs)
>>> max31855.temperature
22.75
>>> max31855.reference_temperature
230.625
>>> 

AFTER

>>> import board, busio, digitalio
>>> import adafruit_max31855
>>> spi = busio.SPI(board.D13, board.D12, None)
>>> cs =digitalio.DigitalInOut(board.D5)
>>> max31855 = adafruit_max31855.MAX31855(spi, cs)
>>> max31855.temperature
25.75
>>> max31855.reference_temperature
22.875
>>> 

@caternuson caternuson requested a review from a team September 18, 2019 22:56
@ladyada
Copy link
Member

ladyada commented Sep 18, 2019

yay

@ladyada ladyada merged commit 5f51a02 into adafruit:master Sep 18, 2019
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Sep 19, 2019
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