python-seabreeze icon indicating copy to clipboard operation
python-seabreeze copied to clipboard

pyseabreeze: implement gpio feature

Open ap-- opened this issue 2 years ago • 0 comments

Originally posted by @ap-- in https://github.com/ap--/python-seabreeze/discussions/132#discussioncomment-1353962

Referenced from the discussion section:

So to get this working you will need to implement the GPIO feature for the QEPro. It's not really complicated to do so, and I have started a new branch: https://github.com/ap--/python-seabreeze/tree/qepro-gpio-wip for you where I sketched out the implementation for pyseabreeze: https://github.com/ap--/python-seabreeze/commit/3d0d32b8bb1baeea47526c29b91d6b0f4d6dd03b

But I don't have a QEPro. So from this branch you should be able to continue implementing the GPIO feature and test it with your spectrometer. (It might already work. Just set gpio pin4 as an output and try toggeling it.)

Here is the command reference from the datasheet:

qepro-gpio

I hope that helps! It would be great if you could finish the implementation and make a pull request :heart:

Cheers Andreas

ap-- avatar Sep 26 '21 09:09 ap--