Commit aba5514e authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Adds dummy function in utils to measure battery

No related merge requests found
Showing with 5 additions and 2 deletions
+5 -2
import io import io
import adafruit_ads1x15.ads1115 as ads # noqa
def get_platform(): def get_platform():
"""Gets platform name and checks if it is a raspberry pi """Gets platform name and checks if it is a raspberry pi
...@@ -18,4 +18,7 @@ def get_platform(): ...@@ -18,4 +18,7 @@ def get_platform():
on_pi = True on_pi = True
except FileNotFoundError: except FileNotFoundError:
pass pass
return platform, on_pi return platform, on_pi
\ No newline at end of file
def get_batt_voltage():
pass
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment