Messing around with Linux for the first time in a bbb.
I’ve learned things like ls -1al, those types of basics.
I’m getting the picture that Debian for the bbb is kind of bare bones, no pun intended. Is that right?
I’m interested in some bigger picture basics like that. Any suggestions for resources?
Hopefully someone will answer with more experience. I was under the understanding that the Beaglebone images had pwm already installed and configured. The python looks pretty straightforward.
So, turns out, the pins aren’t static anymore and are described by their file descriptors.
Instead of something like pwm.start(pin_14, cycle 50%)
It’s
f = open("dev/pwm/duty_cycle", "w") f.write(50) f.close()
So, file descriptors in Linux are something you need to learn about it you want to code python in a bbb.
Edit: formatting