Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python driver? #32

Open
tannewt opened this issue Jan 30, 2023 · 4 comments
Open

Python driver? #32

tannewt opened this issue Jan 30, 2023 · 4 comments

Comments

@tannewt
Copy link

tannewt commented Jan 30, 2023

Do you have a Python driver for this? Maybe one that uses PySerial? I'm looking into reimplementing sigrok-cli in Python with plugins so that hardware, file format and decoder support isn't blocked on a central repo.

@tannewt
Copy link
Author

tannewt commented Feb 9, 2023

I've written a Python driver: https://github.com/pysigrok/hardware-raspberrypi-pico/blob/main/pysigrok_raspberrypi_pico.py

I've also modified the firmware a bit to support different boards: https://github.com/pysigrok/sigrok-pico

@pico-coder
Copy link
Owner

How do I run it? All of the python I've written are standalone python files I run from Spyder Python windows so I'm not very savy on this kind of thing.
What do you use to plot the results?

@tannewt
Copy link
Author

tannewt commented Feb 10, 2023 via email

@pico-coder
Copy link
Owner

I'm way behind in updates. Since you have 21 stars I'll assume what you have is useful. Rather than trying to merge what you have in (I'm nearly functionally illiterate in github) I think I may just add a link to your repo at my intro page, and close this out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants