Skip to content

Commit 4ed32bc

Browse files
committed
fixed ads mosfet syntax issue
1 parent 6fa3f3a commit 4ed32bc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Eduponics/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.0.5"
1+
__version__ = "1.0.6"

Eduponics/ads1x15.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,5 +202,5 @@ def read(self,pin):
202202
raw = self.read_raw(channel1=pin)
203203
voltage = self.raw_to_v(raw)
204204
# deactivate mosfet after use
205-
self.mcp.pin(self.mcp_pins_sheet[pin], mode=0, value=0)
205+
self.mcp.pin(self.mcp_pins_sheet[pin], mode=0, value=1)
206206
return {"raw":raw,"voltage":voltage}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
packages=find_packages(),
1616
include_package_data=True,
1717
version=__version__,
18-
download_url = 'https://github.com/STEMinds/micropython-eduponics/archive/1.0.4.tar.gz',
18+
download_url = 'https://github.com/STEMinds/micropython-eduponics/archive/1.0.6.tar.gz',
1919
keywords = ['micropython','upython', 'eduponics-mini', 'esp32', 'ADS1x15', 'MCP23017'],
2020
description='',
2121
long_description='',

0 commit comments

Comments
 (0)