Go·Hardware·Lean - Device drivers
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Marc-Antoine Ruel daad425c63 ssd1306: implement SPI and transparent differential update.
- Increase test coverage to 100%.
- Add ssd1306smoketest.
- Complete SPI 4-wire implementation.

Differential update reduces the amount of data sent over the I²C/SPI bus at the
(small) cost of slightly more CPU usage. On many platform, I²C default transfert
speed is only 100KHz so when only a small section of the display is updated,
this can lead to significant performance improvement.

For now only page based differential update is used, as column based offset
corrupt the display. This still results in large savings.
9 years ago
devices ssd1306: implement SPI and transparent differential update. 9 years ago
experimental/devices spi: Update spi.Conn to separate app and device configuration. (#123) 9 years ago
AUTHORS Rename pio to periph. (#27) 10 years ago
CONTRIBUTING.md conntest: Add 100% coverage 9 years ago
CONTRIBUTORS Rename pio to periph. (#27) 10 years ago
LICENSE Initial commit of pio. 10 years ago
README.md Add mascot 9 years ago

README.md

periph - Peripherals I/O in Go

mascot

Documentation is at https://periph.io

GoDoc Go Report Card Coverage Status Build Status

Example

package main

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

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

Show me more examples!

Authors

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

Disclaimer

This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.

This project is not affiliated with the Go project.