Commit Graph

12 Commits (ab13b61dd60b336a9582277e6b7900ddffe3bae9)

Author SHA1 Message Date
NeuralSpaz 38804e4864 as7262: initial experimental support for AMS AS7262 Spectral ID i2c sensor (#300)
Add initial support for AMS 6 visible colour spectral ID sensor.
8 years ago
Seán C. McCord 34b6d1d3d2 bitbang/spi cleanup (#268)
- precalculate clock idle polarity and remove clockOn()/clockOff()
 - check for higher (unknown) modes and reject them
 - move internal functions down, to be grouped together
- idle clock on Connect
8 years ago
Eugene ddf7ca2519 Initial support for the Mifare MFRC522 RFID Reader (#220)
Signed-off-by: Eugene Dzhurinsky <jdevelop@gmail.com>
8 years ago
Cássio Botaro 6287555122 Add Cássio Botaro as contributor (#216) 8 years ago
Matt Aimonetti 68f531c751 cap1188 experimental device (#192)
This driver was tested against a adafruit version of the cap1188
https://learn.adafruit.com/adafruit-cap1188-breakout/overview and the
pimoroni drumhat:
https://shop.pimoroni.com/collections/raspberry-pi/products/drum-hat
(which has its LED reversed and uses a different i2c address).
9 years ago
simokawa ff89fa64cc Make hardware PWM work. (#171)
* Fix PWM Address Map: add missing paddings.
* Set PWM rng/dat correctly.
* Clear ctl bits before set.

Fixes #168
9 years ago
Max Ekman 77af758e41 Set version of RPi for all known revisions (#138)
Improve support for RPi 1, 2, 3, add support for Zero, Zero Wireless and the Compute Modules.

Removes rpi.Version since it doesn't make much sense anymore, as it more closely related to
the CPU than the actual board.

Fixes #139
9 years ago
Matias Insaurralde 2d01ba7dbe Simplifying code (#129)
* host: follow gosimple suggestions

* conn: follow gosimple suggestions

* devices: follow gosimple suggestions

* Update CONTRIBUTORS
9 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
quinte17 42624e257c make the i2c address of bme280 configurable (#5)
make the i2c address of bme280 configurable

The address can either be 0x76 or 0x77. It depends on hardware configuration.
If you connect SDO to GND its 0x76
If you connect SDO to V(DDIO) its 0x77.

* Add me to the authors.
* the bme280 cmd uses the new address option
* initialize default addr on definition
10 years ago
Thorsten von Eicken 3392d730dc add distro functions to read device tree model and compatible files (#6) 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