gobot icon indicating copy to clipboard operation
gobot copied to clipboard

Does this Lib. Still Work w/ the BeagleBone Black?

Open silver2row opened this issue 2 years ago • 5 comments

Hello,

I have not tried this out yet. I plan on trying it out to handle some LED to start via the BeagleBone Black and RelayCape.

Here: https://github.com/hybridgroup/gobot/tree/master/platforms/beaglebone

Is this still current or would I need to update in my cloned repo. a way to handle this lib?

Seth

silver2row avatar Apr 08 '22 10:04 silver2row

Hi @silver2row have you been able to check this out yet ? Could you test the dev branch for your requirements?

gen2thomas avatar Jan 23 '23 18:01 gen2thomas

The newest package does have a problem at install. I followed this page: https://gobot.io/documentation/platforms/beaglebone/ Having Go already installed, I started to install gobot with: go get -d -u gobot.io/x/gobot/... And after downloading a lot of packages, it throws these lines:

gobot.io/x/gobot/drivers/spi imports
        periph.io/x/periph/conn/physic: cannot find module providing package periph.io/x/periph/conn/physic
gobot.io/x/gobot/drivers/spi imports
        periph.io/x/periph/conn/spi: cannot find module providing package periph.io/x/periph/conn/spi
gobot.io/x/gobot/drivers/spi imports
        periph.io/x/periph/host/sysfs: cannot find module providing package periph.io/x/periph/host/sysfs

So I assume something is wrong there. Can someone help to fix this?

stevstrong avatar Oct 18 '23 09:10 stevstrong

Hi @stevstrong , the documentation at this page is outdated. We only support the v2 of gobot. Please have a look at this example instead: https://github.com/hybridgroup/gobot/blob/release/examples/beaglebone_blink.go.

Also the getting started guide could be helpful.

Good luck, Thomas

gen2thomas avatar Oct 18 '23 17:10 gen2thomas

So you say that there is no need to install it as specified on the page I linked? Just checkout from git and use it?

stevstrong avatar Oct 18 '23 17:10 stevstrong

This depends on your start point. If you already have a go program or project for your platform a go mod tidy should be sufficient (after you have changed the old imports to "gobot/v2"). Otherwise, please read the guide and try it step by step.

gen2thomas avatar Oct 18 '23 17:10 gen2thomas