Skip to content

Commit

Permalink
v0.7.9, require spidev package, better exception handling
Browse files Browse the repository at this point in the history
  • Loading branch information
gutow committed Mar 9, 2023
1 parent a362a9e commit 403a541
Show file tree
Hide file tree
Showing 18 changed files with 340 additions and 333 deletions.
3 changes: 3 additions & 0 deletions docs/Change_Log.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Change Log
* 0.7.9 (Mar. 9 2023)
* Added `spidev` package to requirements because `pi-plates` requires it.
* More robust exception handling when searching for boards/A-to-Ds.
* 0.7.8
* Updated text for insertion into cells to make better use of escaping
updates in JPSLUtils >=0.7.0.
Expand Down
15 changes: 10 additions & 5 deletions docs/jupyterpidaq.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/jupyterpidaq/Boards.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/jupyterpidaq/Boards/PiGPIO.html

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions docs/jupyterpidaq/Boards/PiGPIO/ADS1115.html

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions docs/jupyterpidaq/Boards/PiGPIO/DAQC2.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/jupyterpidaq/Boards/Simulated.html

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions docs/jupyterpidaq/Boards/Simulated/ADCsim.html

Large diffs are not rendered by default.

38 changes: 19 additions & 19 deletions docs/jupyterpidaq/Boards/Simulated/ADCsim_line.html

Large diffs are not rendered by default.

84 changes: 42 additions & 42 deletions docs/jupyterpidaq/Boards/boards.html

Large diffs are not rendered by default.

74 changes: 37 additions & 37 deletions docs/jupyterpidaq/ChannelSettings.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/jupyterpidaq/DAQProc.html

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions docs/jupyterpidaq/DAQinstance.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/jupyterpidaq/Sensors.html

Large diffs are not rendered by default.

220 changes: 110 additions & 110 deletions docs/jupyterpidaq/Sensors/sensors.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/search.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jupyterpidaq/Boards/PiGPIO/DAQC2.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

try:
from piplates import DAQC2plate
except RuntimeError as e:
except Exception as e:
print("DAQC2plate: "+str(e))
DAQC2plate = None

Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setuptools.setup(
name="JupyterPiDAQ",
url = "https://github.com/JupyterPhysSciLab/JupyterPiDAQ",
version="0.7.8",
version="0.7.9",
description="Data Acquisition in Jupyter notebook on Raspberry Pi",
long_description=long_description,
long_description_content_type="text/markdown",
Expand All @@ -20,9 +20,8 @@
],
include_package_data=True,
install_requires=[
#RPi.GPIO is required by pi-plates, not sure why not included in the
# pi-plates setup.py, maybe because only works on Linux?.
'RPi.GPIO>=0.7.0;platform_system=="Linux"',
'RPi.GPIO>=0.7.0;platform_system=="Linux"', # pi-plates requires
'spidev>=3.5;platform_system=="Linux"', # pi-plates requires
'Adafruit-PureIO>=1.1.9',
'Adafruit-ADS1x15>=1.0.2',
'Adafruit-GPIO>=1.0.3',
Expand Down

0 comments on commit 403a541

Please sign in to comment.