gobot
gobot copied to clipboard
Does this Lib. Still Work w/ the BeagleBone Black?
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
Hi @silver2row have you been able to check this out yet ? Could you test the dev branch for your requirements?
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?
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
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?
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.