Skip to content

SpaceLeap/go-beaglebone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-beaglebone

Go package for the BeagleBone open source hardware

Also check out https://github.com/SpaceLeap/go-embedded

This package builds on top of github.com/SpaceLeap/go-embedded and offers BeagleBone specific constants, variables and initializes go-embedded for the BeagleBone:

func init() {
	err := embedded.Init("bone_capemgr")
	if err != nil {
		panic(err)
	}

	spi.Init("ADAFRUIT-SPI")

	err = pwm.Init("am33xx_pwm", "bone_pwm_")
	if err != nil {
		panic(err)
	}

	err = adc.Init("cape-bone-iio")
	if err != nil {
		panic(err)
	}
}

About

Go package for the BeagleBone open source hardware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages