Open TurkeyMan opened 1 year ago
What instructions are you referring to?
Nothing specific, just everything everywhere. This is more of a "please keep this in mind, and make corrections when encountering inconsistency" kind of thing.
I'll update this ticket with examples as I encounter them.
For SPI, I did alias the commands - https://learn.sparkfun.com/tutorials/python-programming-tutorial-getting-started-with-the-raspberry-pi/configure-your-pi
For SPI, I did alias the commands - https://learn.sparkfun.com/tutorials/python-programming-tutorial-getting-started-with-the-raspberry-pi/configure-your-pi
Hmm... arbitrarily aliasing the commands sounds bad... surely that's just likely to mess up anything else that might be running on your system? Why not just be explicit in instructions here?
Yes it could but I was using a throw away setup.
You are very welcome to adjust the documentation. My experimentation with SPI was a couple weeks ago and I could not get the working hardware end working but will give it a try again.
Yeah, I wired it up and had a quick crack, but it didn't "just work", and I'm not sure how to diagnose where the problem is. I'd like to think it's possible for the script to integrate basic fault tests.
@openshwprojects did some SPI a few days ago, and may have a cleaner implementation. Mine was 'hack until it worked'.
I'm not a fan of python, and I'm just trying to follow the python instructions; but every time I see python instructions it's unclear how to follow them. Some instructions say
python3 args
, and other instructions saypython args
.... In other placespip install xyz
and other placespip3 install xyz
... Seems python3 is used here... but is that true for all scripts and all contributors? Can we please be consistent? Are these scripts all python 3 scripts? Is someone here just aliasingpython
aspython3
? That doesn't seem to be default system configuration, when Ipython -v
on pios, I get python 2. I saw some nonsense aboutpython-is-python2
in the package manager. Checking my PC, the same thing sayspython-is-python3
... I guess the python ecosystem has ruined this clarity themselves, but it'd be good if this nonsense didn't infect the instructions given surrounding this community. Consider making sure all instructions in all locations are explicit? The point of these scripts is to be run by lay-folk, not programmers who know what python is or why there are 2 versions, and how to disambiguate, etc. Instructions need to "just work".