SivyerLab / pyCrafter4500

Python USB controller for the TI LCR4500EVM
https://pycrafter4500.readthedocs.io/en/latest/
GNU General Public License v3.0
16 stars 16 forks source link

Examples #6

Open kaanaksit opened 5 years ago

kaanaksit commented 5 years ago

Sorry to bother with an another issue. I like this work, and I am hoping that this work be accessible for various parties in the future instead of me just cloning your work and not even sharing a bit with others.

It would be super cool if there can be some examples like how to upload/display a pattern. Current condition of README in this sense is limited, and does not provide an end-user ease. I am sure a keen person just read the documentation and write it's own library immediately.

arrrobase commented 5 years ago

I appreciate the feedback. I have some examples of several different colors/pattern/refresh rates I could upload.

kaanaksit commented 5 years ago

This would be wonderful, and a great starting point for me as well to start using your library in my projects.

nikhil4595 commented 5 years ago

@awctomlinson That would be really helpful for me as well.

HK42 commented 3 years ago

This would also be really helpful for me if you still have those examples. Thank you

arrrobase commented 3 years ago

There's some examples of different refresh rates, bit depths, and LED colors that can be found in the pystimGUI code here: https://github.com/SivyerLab/pystim/blob/master/pyStim/pyStimGUI.py#L2041

Unfortunately I never needed to upload patterns (I'm not sure if it's even possible with this model) so I don't have any examples of that. I'm no longer coding actively so don't have the time to revisit this project to generate better documentation, but I'm happy to accept any PRs.

niallodowd commented 3 years ago

Hey all! I too am looking for ways to implement this library into a ruggedized solution. After getting everything installed, I've noticed that certain calls can be repeated (ex: pycrafter4500.pattern_mode()) but after trying to write one myself to start a pattern projection: with connect_usb() as lcr: lcr.pattern_display('start')

after working, any other command crashes the kernel, and I have to reload. Usually this would have to do with "closing" the communication, but I can't find a way to do this. Anyone know a fix?

Thanks in advance!

AlexUrbanski commented 2 years ago

Hello, Does anyone have example code for projecting patterns to the LCR4500?

Thank you!