Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
silver2row opened this issue Apr 8, 2022 · 5 comments
Open

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

silver2row opened this issue Apr 8, 2022 · 5 comments
Labels

Comments

@silver2row
Copy link

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

@gen2thomas
Copy link
Collaborator

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

@stevstrong
Copy link

stevstrong commented Oct 18, 2023

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?

@gen2thomas
Copy link
Collaborator

gen2thomas commented Oct 18, 2023

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

@stevstrong
Copy link

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?

@gen2thomas
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants