Skip to content
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

minor fixes. #3

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

saltyfireball
Copy link

@saltyfireball saltyfireball commented Dec 27, 2017

Bug fix for getHumString in myDHT.py - (humidity not valid) Fixed in all Lessons.

Error: NameError: global name 'humidity' is not defined

Fixed reference to use the getHum() function as output.

myMCP.py in all lessons had to change LUX_ADC to LUX_MCP

def getLux(LUX_MCP):

I dont know much about this MCP, but I also had to remove the gain=1, it was causing errors.

>Error: NameError: global name 'humidity' is not defined

Fixed reference to use the getHum() function as output.
>Error: NameError: global name 'humidity' is not defined

Fixed reference to use the getHum() function as output.

-
myMCP.py in all lessons had to change LUX_ADC to LUX_MCP

> def getLux(LUX_MCP):

I dont know much about this MCP, but I had to remove the gain=1, it was causing errors.
could have changed the importe to:
from myMCP import getLux, getLuxString

But I "think" the result here was to use
the getLuxString call.
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.

1 participant