Commit Graph

9 Commits (77cb166f258a7d294706914a7ac975fc8102d1bb)

Author SHA1 Message Date
M-A 77cb166f25 Fix the front page sample to be less cryptic. (#92)
The example made it look like the user had to use global variables, which may
cause a poor first time impression. Make it clear that there is multiple ways to
access a pin.
10 years ago
M-A b9bc3713f7 Improve documentation. (#90)
Add "Features"
Drastically shorten the sample on the home page.
10 years ago
M-A 0075d9e849 Increase polish. (#75)
- Make error more consistent and more helpful. Not all errors are wrapped yet
  but a fair part is now.
- Remove the 'first' pattern in i2c, spi, uart and make it work.
- Add allwinner.Pin.wrap() for coherence with PinPL and bcm283x.Pin.
- headers.All() return a copy.
10 years ago
M-A f7261fe4df doc: add more information about testing. (#69) 10 years ago
M-A 01b45ab697 Add more examples, trim documentation. (#44) 10 years ago
M-A ae8f618573 Rename pio to periph. (#27)
Ran:
    git sed 's/pio/periph/g
    git sed 's/gperiph/gpio/g'
    git sed 's/Gperiph/Gpio/g'
    git sed 's/PIO/Periph/g'
    git sed 's/GPeriph/GPIO/g'
    git mv pio.go periph.go
    git mv pio_test.go periph_test.go
    cd cmd
    git mv pio-info periph-info
    git mv pio-setup periph-setup

where 'git sed' is an alias to run sed over all files in git ls-files.

Fixes #11.
10 years ago
Thorsten von Eicken aa5269b72f fix some documentation text (#19) 10 years ago
M-A 1dea5dac5c doc: add code style, note about lack of affiliation with Go. (#10)
Fixes #7
10 years ago
Marc-Antoine Ruel eb384b9d0c Initial commit of pio.
This was extracted from github.com/maruel/dlibox/go/pio @ f51102b.
This code was written by Marc-Antoine Ruel.
10 years ago