We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 089341b commit a5b377dCopy full SHA for a5b377d
2 files changed
electroblocks/core.py
@@ -337,7 +337,7 @@ def digital_read(self, pin):
337
return self._find_sensor_str(pin, "dr") == "1"
338
339
def analog_read(self, pin):
340
- return self._find_sensor_str(pin, "ar")
+ return float(self._find_sensor_str(pin, "ar"))
341
342
343
# LED MATRIX
pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
5
[project]
6
name = "electroblocks"
7
-version = "0.1.23"
+version = "0.1.24"
8
description = "Python client library to interact with ElectroBlocks Arduino firmware"
9
authors = [
10
{ name = "Noah Glaser", email = "glaserpower@gmail.com" }
0 commit comments