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?

  • sin_free_for_00_days@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    What are you interested in doing with the Beaglebone Black? Without that, not sure how to answer. If you’re just looking into learning *nix command line stuff, then there are a lot of tutorials out there.

      • sin_free_for_00_days@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 months ago

        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.

        • half_built_pyramids@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          7 months ago

          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