Skip to content

Imported GetTemp() and other things.#10

Open
JoelMon wants to merge 2 commits intoaudricd:masterfrom
JoelMon:gettemp-improvement
Open

Imported GetTemp() and other things.#10
JoelMon wants to merge 2 commits intoaudricd:masterfrom
JoelMon:gettemp-improvement

Conversation

@JoelMon
Copy link
Contributor

@JoelMon JoelMon commented Dec 18, 2014

Made GetTemp() more robust by allowing it to handle more than one adapter, not only adapter 0. Moved the GetTemp() to the top of the source code to easily find it instead of having functions littered throughout the code. Added docstring to GetTemp(). Also moved the title and version of the application into a constant and moved it to the top of the source file to make it easy to edit. Made other minor PEP8 style edits.

UPDATE: Meant to say Improved GetTemp() in the title.

Made GetTemp() more robust by allowing it to handle more than one adapter, not only adapter 0. Moved the GetTemp() to the top of the source code to easily find it instead of having functions littered throughout the code. Added docstring to GetTemp(). Also moved the title and version of the application into a constant and moved it to the top of the source file to make it easy to edit. Made other minor PEP8 style edits.
@audricd
Copy link
Owner

audricd commented Dec 18, 2014

I dont know about this one. Ill do my version first (tonight, most likely) and see whats hapenning.

@JoelMon JoelMon closed this Dec 19, 2014
@audricd
Copy link
Owner

audricd commented Dec 19, 2014

hold it dont close it yet! now that my code is clean I can work on implementing this and it looks good! just cant merge literally because it would bring back old code that Ive cleaned but the function gettemp is good! will do that later during the day.

@audricd audricd reopened this Dec 19, 2014
@audricd
Copy link
Owner

audricd commented Jan 19, 2015

i got your code and adapted it to the new version, thanks!

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