GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - periph/host: Go·Hardware·Lean - Host drivers

BranchesTags
Open more actions menu

Latest commit

 

History

414 Commits
414 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
allwinner
allwinner
 
 
am335x
am335x
 
 
bcm283x
bcm283x
 
 
beagle
beagle
 
 
chip
chip
 
 
cpu
cpu
 
 
distro
distro
 
 
fs
fs
 
 
ftdi
ftdi
 
 
gpioioctl
gpioioctl
 
 
mt7688
mt7688
 
 
nanopi
nanopi
 
 
netlink
netlink
 
 
odroidc1
odroidc1
 
 
orangepi
orangepi
 
 
pine64
pine64
 
 
pmem
pmem
 
 
pru
pru
 
 
rpi
rpi
 
 
scripts
scripts
 
 
serial
serial
 
 
sysfs
sysfs
 
 
videocore
videocore
 
 
.agents-index-ignore
.agents-index-ignore
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.golangci.yml
.golangci.yml
 
 
AGENTS.md
AGENTS.md
 
 
AUTHORS
AUTHORS
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CONTRIBUTORS
CONTRIBUTORS
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
codecov.yml
codecov.yml
 
 
doc.go
doc.go
 
 
example_test.go
example_test.go
 
 
go.mod
go.mod
 
 
go.sum
go.sum
 
 
host.go
host.go
 
 
host_arm.go
host_arm.go
 
 
host_arm64.go
host_arm64.go
 
 
host_linux.go
host_linux.go
 
 
host_test.go
host_test.go
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

periph - Peripherals I/O in Go

Documentation is at https://periph.io

Join us for a chat on gophers.slack.com/messages/periph, get an invite here.

mascot

PkgGoDev codecov

Example

Blink a LED:

package main

import (
    "time"
    "periph.io/x/conn/v3/gpio"
    "periph.io/x/host/v3"
    "periph.io/x/host/v3/rpi"
)

func main() {
    host.Init()
    t := time.NewTicker(500 * time.Millisecond)
    for l := gpio.Low; ; l = !l {
        rpi.P1_33.Out(l)
        <-t.C
    }
}

Curious? Look at supported devices for more examples!

Authors

periph was initiated with ❤️️ and passion by Marc-Antoine Ruel. The full list of contributors is in AUTHORS and CONTRIBUTORS.

About

Go·Hardware·Lean - Host drivers

periph.io

Topics

1-wireapa102beaglebonebme280bmp180bmp280chipds18b20ds2482golanggpiohardwarei2cleptonodroid-c1raspberry-pispissd1306tm1637

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

73 stars

Watchers

4 watching

Forks

42 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.