From 9a25ce11c37dfcf2b6abdc301eb6f03c9cd35e54 Mon Sep 17 00:00:00 2001 From: clinton Date: Sat, 20 May 2017 18:36:48 +1000 Subject: [PATCH] Standalone fork no longer dependant on the original. --- CONTRIBUTING.md | 4 +- README.md | 88 ++++++++++++------------- controller/hd44780/hd44780.go | 2 +- controller/hd44780/hd44780_test.go | 2 +- controller/mcp4725/mcp4725.go | 2 +- controller/pca9685/pca9685.go | 4 +- controller/pcal9535a/pcal9535a.go | 2 +- convertors/mcp3008/mcp3008.go | 2 +- detect.go | 2 +- doc.go | 20 +++--- embd/detect.go | 2 +- embd/main.go | 2 +- host/all/all.go | 6 +- host/bbb/analogpin.go | 2 +- host/bbb/analogpin_test.go | 2 +- host/bbb/bbb.go | 4 +- host/bbb/pwmpin.go | 4 +- host/bbb/pwmpin_test.go | 2 +- host/chip/README.md | 6 +- host/chip/chip.go | 4 +- host/edison/edison.go | 4 +- host/generic/digitalpin.go | 2 +- host/generic/digitalpin_test.go | 2 +- host/generic/i2cbus.go | 2 +- host/generic/interrupt.go | 2 +- host/generic/led.go | 2 +- host/generic/spibus.go | 2 +- host/rpi/rpi.go | 4 +- interface/keypad/matrix4x3/matrix4x3.go | 2 +- motion/servo/servo.go | 2 +- samples/28bjy-48.go | 4 +- samples/analog.go | 4 +- samples/analogshort.go | 4 +- samples/bh1750fvi.go | 6 +- samples/bmp085.go | 6 +- samples/bmp180.go | 6 +- samples/characterdisplay.go | 8 +-- samples/fullblinker.go | 4 +- samples/gpio.go | 4 +- samples/gpiodetect.go | 4 +- samples/gpiodirect.go | 4 +- samples/gpiointerrupt.go | 4 +- samples/gpioshort.go | 4 +- samples/hd44780.go | 6 +- samples/keypad/matrix4x3.go | 4 +- samples/l3gd20.go | 6 +- samples/led.go | 4 +- samples/ledshort.go | 4 +- samples/lsm303.go | 6 +- samples/mcp3008.go | 6 +- samples/mcp4725.go | 6 +- samples/pca9685.go | 6 +- samples/pwm.go | 6 +- samples/servo.go | 8 +-- samples/servobbb.go | 6 +- samples/servoblaster.go | 6 +- samples/simpleblinker.go | 4 +- samples/spi.go | 4 +- samples/spimcp3008.go | 4 +- samples/tmp006.go | 6 +- samples/universalblinker.go | 4 +- samples/us020.go | 6 +- samples/watersensor.go | 6 +- sensor/bh1750fvi/bh1750fvi.go | 2 +- sensor/bme280/bme280.go | 2 +- sensor/bmp085/bmp085.go | 2 +- sensor/bmp180/bmp180.go | 2 +- sensor/l3gd20/l3gd20.go | 2 +- sensor/lsm303/lsm303.go | 2 +- sensor/tmp006/tmp006.go | 2 +- sensor/us020/us020.go | 2 +- sensor/watersensor/watersensor.go | 2 +- 72 files changed, 187 insertions(+), 187 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 975aca7..d503cd1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -3,7 +3,7 @@ This actually is really simple. A few simple guidelines and we can break for dinner: * EMBD is designed with a lot of affection, with utmost importance given to the dev experience (read: the API feel and style.) So always think from that angle when creating the pull request -* [Documentation](https://godoc.org/github.com/kidoman/embd) helps drive adoption. No exceptions +* [Documentation](https://godoc.org/github.com/cfreeman/embd) helps drive adoption. No exceptions When it comes to the code: @@ -23,7 +23,7 @@ When it comes to the code: this is inspired by Dave Cheney's gpio library and his work on EPOLL ``` -* Individual lines must be wrapped at the 70-char limit. Yeah, old school +* Individual lines must be wrapped at the 70-char limit. Yeah, old school * No trailing '.' And: diff --git a/README.md b/README.md index 93896f8..920a219 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# embd [![Build Status](https://travis-ci.org/kidoman/embd.svg?branch=master)](https://travis-ci.org/kidoman/embd) [![GoDoc](http://godoc.org/github.com/kidoman/embd?status.png)](http://godoc.org/github.com/kidoman/embd) +# embd [![Build Status](https://travis-ci.org/kidoman/embd.svg?branch=master)](https://travis-ci.org/kidoman/embd) [![GoDoc](http://godoc.org/github.com/cfreeman/embd?status.png)](http://godoc.org/github.com/cfreeman/embd) **embd** is a hardware abstraction layer (HAL) for embedded systems. @@ -21,7 +21,7 @@ that are connected to gpio pins or one of the buses. Development supported and sponsored by [**SoStronk**](https://www.sostronk.com) and [**ThoughtWorks**](http://www.thoughtworks.com/). -Also, you might be interested in: [Why Golang?](https://github.com/kidoman/embd/wiki/Why-Go) +Also, you might be interested in: [Why Golang?](https://github.com/cfreeman/embd/wiki/Why-Go) [Blog post introducing EMBD](http://kidoman.io/framework/embd.html) @@ -37,8 +37,8 @@ package main import ( "time" - "github.com/kidoman/embd" - _ "github.com/kidoman/embd/host/rpi" // This loads the RPi driver + "github.com/cfreeman/embd" + _ "github.com/cfreeman/embd/host/rpi" // This loads the RPi driver ) func main() { @@ -51,7 +51,7 @@ func main() { Then install the EMBD package: - $ go get github.com/kidoman/embd + $ go get github.com/cfreeman/embd Build the binary for linux/ARM: @@ -74,7 +74,7 @@ Then on the rPi run the program with ```sudo```*: * Assuming your RaspberryPi has an IP address of ```192.168.2.2```. Substitute as necessary * `sudo` (root) permission is required as we are controlling the hardware by writing to special files * This sample program is optimized for brevity and does not clean up after itself. Click here to - see the [full version](https://github.com/kidoman/embd/blob/master/samples/fullblinker.go) + see the [full version](https://github.com/cfreeman/embd/blob/master/samples/fullblinker.go) ## Getting Help @@ -89,7 +89,7 @@ Join the [slack channel](https://gophers.slack.com/archives/embd) ## The command line tool - go get github.com/kidoman/embd/embd + go get github.com/cfreeman/embd/embd will install a command line utility ```embd``` which will allow you to quickly get started with prototyping. The binary should be available in your ```$GOPATH/bin```. However, to be able to run this on a ARM based device, you will need to build it with ```GOOS=linux``` and ```GOARCH=arm``` environment variables set. @@ -107,14 +107,14 @@ Package **embd** provides a hardware abstraction layer for doing embedded progra on supported platforms like the Raspberry Pi and BeagleBone Black. Most of the examples below will work without change (i.e. the same binary) on all supported platforms. How cool is that? -Although samples are all present in the [samples](https://github.com/kidoman/embd/tree/master/samples) folder, +Although samples are all present in the [samples](https://github.com/cfreeman/embd/tree/master/samples) folder, we will show a few choice examples here. Use the **LED** driver to toggle LEDs on the BBB: ```go -import "github.com/kidoman/embd" -import _ "github.com/kidoman/embd/host/all" +import "github.com/cfreeman/embd" +import _ "github.com/cfreeman/embd/host/all" ... embd.InitLED() defer embd.CloseLED() @@ -127,8 +127,8 @@ led.Toggle() Even shorter when quickly trying things out: ```go -import "github.com/kidoman/embd" -import _ "github.com/kidoman/embd/host/all" +import "github.com/cfreeman/embd" +import _ "github.com/cfreeman/embd/host/all" ... embd.InitLED() defer embd.CloseLED() @@ -141,8 +141,8 @@ embd.ToggleLED(3) BBB + **PWM**: ```go -import "github.com/kidoman/embd" -import _ "github.com/kidoman/embd/host/all" +import "github.com/cfreeman/embd" +import _ "github.com/cfreeman/embd/host/all" ... embd.InitGPIO() defer embd.CloseGPIO() @@ -156,8 +156,8 @@ pwm.SetDuty(1000) Control **GPIO** pins on the RaspberryPi / BeagleBone Black: ```go -import "github.com/kidoman/embd" -import _ "github.com/kidoman/embd/host/all" +import "github.com/cfreeman/embd" +import _ "github.com/cfreeman/embd/host/all" ... embd.InitGPIO() defer embd.CloseGPIO() @@ -169,8 +169,8 @@ embd.DigitalWrite(10, embd.High) Could also do: ```go -import "github.com/kidoman/embd" -import _ "github.com/kidoman/embd/host/all" +import "github.com/cfreeman/embd" +import _ "github.com/cfreeman/embd/host/all" ... embd.InitGPIO() defer embd.CloseGPIO() @@ -184,9 +184,9 @@ pin.Write(embd.High) Or read data from the **Bosch BMP085** barometric sensor: ```go -import "github.com/kidoman/embd" -import "github.com/kidoman/embd/sensor/bmp085" -import _ "github.com/kidoman/embd/host/all" +import "github.com/cfreeman/embd" +import "github.com/cfreeman/embd/sensor/bmp085" +import _ "github.com/cfreeman/embd/host/all" ... bus := embd.NewI2CBus(1) ... @@ -199,9 +199,9 @@ altitude, err := baro.Altitude() Even find out the heading from the **LSM303** magnetometer: ```go -import "github.com/kidoman/embd" -import "github.com/kidoman/embd/sensor/lsm303" -import _ "github.com/kidoman/embd/host/all" +import "github.com/cfreeman/embd" +import "github.com/cfreeman/embd/sensor/lsm303" +import _ "github.com/cfreeman/embd/host/all" ... bus := embd.NewI2CBus(1) ... @@ -215,22 +215,22 @@ platforms. ## Protocols Supported -* **Digital GPIO** [Documentation](http://godoc.org/github.com/kidoman/embd#DigitalPin) -* **Analog GPIO** [Documentation](http://godoc.org/github.com/kidoman/embd#AnalogPin) -* **PWM** [Documentation](http://godoc.org/github.com/kidoman/embd#PWMPin) -* **I2C** [Documentation](http://godoc.org/github.com/kidoman/embd#I2CBus) -* **LED** [Documentation](http://godoc.org/github.com/kidoman/embd#LED) -* **SPI** [Documentation](http://godoc.org/github.com/kidoman/embd#SPIBus) +* **Digital GPIO** [Documentation](http://godoc.org/github.com/cfreeman/embd#DigitalPin) +* **Analog GPIO** [Documentation](http://godoc.org/github.com/cfreeman/embd#AnalogPin) +* **PWM** [Documentation](http://godoc.org/github.com/cfreeman/embd#PWMPin) +* **I2C** [Documentation](http://godoc.org/github.com/cfreeman/embd#I2CBus) +* **LED** [Documentation](http://godoc.org/github.com/cfreeman/embd#LED) +* **SPI** [Documentation](http://godoc.org/github.com/cfreeman/embd#SPIBus) ## Sensors Supported -* **TMP006** Thermopile sensor [Documentation](http://godoc.org/github.com/kidoman/embd/sensor/tmp006), [Datasheet](http://www.adafruit.com/datasheets/tmp006.pdf), [Userguide](http://www.adafruit.com/datasheets/tmp006ug.pdf) -* **BMP085** Barometric pressure sensor [Documentation](http://godoc.org/github.com/kidoman/embd/sensor/bmp085), [Datasheet](https://www.sparkfun.com/datasheets/Components/General/BST-BMP085-DS000-05.pdf) -* **BMP180** Barometric pressure sensor [Documentation](http://godoc.org/github.com/kidoman/embd/sensor/bmp180), [Datasheet](http://www.adafruit.com/datasheets/BST-BMP180-DS000-09.pdf) -* **LSM303** Accelerometer and magnetometer [Documentation](http://godoc.org/github.com/kidoman/embd/sensor/lsm303), [Datasheet](https://www.sparkfun.com/datasheets/Sensors/Magneto/LSM303%20Datasheet.pdf) -* **L3GD20** Gyroscope [Documentation](http://godoc.org/github.com/kidoman/embd/sensor/l3gd20), [Datasheet](http://www.adafruit.com/datasheets/L3GD20.pdf) -* **US020** Ultrasonic proximity sensor [Documentation](http://godoc.org/github.com/kidoman/embd/sensor/us020), [Product Page](http://www.digibay.in/sensor/object-detection-and-proximity?product_id=239) -* **BH1750FVI** Luminosity sensor [Documentation](http://godoc.org/github.com/kidoman/embd/sensor/bh1750fvi), [Datasheet](http://www.elechouse.com/elechouse/images/product/Digital%20light%20Sensor/bh1750fvi-e.pdf) +* **TMP006** Thermopile sensor [Documentation](http://godoc.org/github.com/cfreeman/embd/sensor/tmp006), [Datasheet](http://www.adafruit.com/datasheets/tmp006.pdf), [Userguide](http://www.adafruit.com/datasheets/tmp006ug.pdf) +* **BMP085** Barometric pressure sensor [Documentation](http://godoc.org/github.com/cfreeman/embd/sensor/bmp085), [Datasheet](https://www.sparkfun.com/datasheets/Components/General/BST-BMP085-DS000-05.pdf) +* **BMP180** Barometric pressure sensor [Documentation](http://godoc.org/github.com/cfreeman/embd/sensor/bmp180), [Datasheet](http://www.adafruit.com/datasheets/BST-BMP180-DS000-09.pdf) +* **LSM303** Accelerometer and magnetometer [Documentation](http://godoc.org/github.com/cfreeman/embd/sensor/lsm303), [Datasheet](https://www.sparkfun.com/datasheets/Sensors/Magneto/LSM303%20Datasheet.pdf) +* **L3GD20** Gyroscope [Documentation](http://godoc.org/github.com/cfreeman/embd/sensor/l3gd20), [Datasheet](http://www.adafruit.com/datasheets/L3GD20.pdf) +* **US020** Ultrasonic proximity sensor [Documentation](http://godoc.org/github.com/cfreeman/embd/sensor/us020), [Product Page](http://www.digibay.in/sensor/object-detection-and-proximity?product_id=239) +* **BH1750FVI** Luminosity sensor [Documentation](http://godoc.org/github.com/cfreeman/embd/sensor/bh1750fvi), [Datasheet](http://www.elechouse.com/elechouse/images/product/Digital%20light%20Sensor/bh1750fvi-e.pdf) ## Interfaces @@ -238,9 +238,9 @@ platforms. ## Controllers -* **PCA9685** 16-channel, 12-bit PWM Controller with I2C protocol [Documentation](http://godoc.org/github.com/kidoman/embd/controller/pca9685), [Datasheet](http://www.adafruit.com/datasheets/PCA9685.pdf), [Product Page](http://www.adafruit.com/products/815) -* **MCP4725** 12-bit DAC [Documentation](http://godoc.org/github.com/kidoman/embd/controller/mcp4725), [Datasheet](http://www.adafruit.com/datasheets/mcp4725.pdf), [Product Page](http://www.adafruit.com/products/935) -* **ServoBlaster** RPi PWM/PCM based PWM controller [Documentation](http://godoc.org/github.com/kidoman/embd/controller/servoblaster), [Product Page](https://github.com/richardghirst/PiBits/tree/master/ServoBlaster) +* **PCA9685** 16-channel, 12-bit PWM Controller with I2C protocol [Documentation](http://godoc.org/github.com/cfreeman/embd/controller/pca9685), [Datasheet](http://www.adafruit.com/datasheets/PCA9685.pdf), [Product Page](http://www.adafruit.com/products/815) +* **MCP4725** 12-bit DAC [Documentation](http://godoc.org/github.com/cfreeman/embd/controller/mcp4725), [Datasheet](http://www.adafruit.com/datasheets/mcp4725.pdf), [Product Page](http://www.adafruit.com/products/935) +* **ServoBlaster** RPi PWM/PCM based PWM controller [Documentation](http://godoc.org/github.com/cfreeman/embd/controller/servoblaster), [Product Page](https://github.com/richardghirst/PiBits/tree/master/ServoBlaster) ## Convertors @@ -248,12 +248,12 @@ platforms. ## Contributing -[Pull requests](https://github.com/kidoman/embd/pulls) that follow the -[guidelines](https://github.com/kidoman/embd/blob/master/CONTRIBUTING.md) are very appreciated. +[Pull requests](https://github.com/cfreeman/embd/pulls) that follow the +[guidelines](https://github.com/cfreeman/embd/blob/master/CONTRIBUTING.md) are very appreciated. If you find a problem but are not up to coding a fix please file an -[issue](https://github.com/kidoman/embd/issues). +[issue](https://github.com/cfreeman/embd/issues). Thank you! ## About -EMBD is affectionately designed/developed by Karan Misra ([kidoman](https://github.com/kidoman)), Kunal Powar ([kunalpowar](https://github.com/kunalpowar)) and [FRIENDS](https://github.com/kidoman/embd/blob/master/AUTHORS). We also have a list of [CONTRIBUTORS](https://github.com/kidoman/embd/blob/master/CONTRIBUTORS). +EMBD is affectionately designed/developed by Karan Misra ([kidoman](https://github.com/kidoman)), Kunal Powar ([kunalpowar](https://github.com/kunalpowar)) and [FRIENDS](https://github.com/cfreeman/embd/blob/master/AUTHORS). We also have a list of [CONTRIBUTORS](https://github.com/cfreeman/embd/blob/master/CONTRIBUTORS). diff --git a/controller/hd44780/hd44780.go b/controller/hd44780/hd44780.go index 88032d5..45eae34 100644 --- a/controller/hd44780/hd44780.go +++ b/controller/hd44780/hd44780.go @@ -16,7 +16,7 @@ import ( "time" "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) type entryMode byte diff --git a/controller/hd44780/hd44780_test.go b/controller/hd44780/hd44780_test.go index eee375d..500d1bf 100644 --- a/controller/hd44780/hd44780_test.go +++ b/controller/hd44780/hd44780_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/controller/mcp4725/mcp4725.go b/controller/mcp4725/mcp4725.go index 1dcaa91..169d13b 100644 --- a/controller/mcp4725/mcp4725.go +++ b/controller/mcp4725/mcp4725.go @@ -5,7 +5,7 @@ import ( "sync" "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/controller/pca9685/pca9685.go b/controller/pca9685/pca9685.go index 9a9407d..a9e9545 100644 --- a/controller/pca9685/pca9685.go +++ b/controller/pca9685/pca9685.go @@ -7,8 +7,8 @@ import ( "time" "github.com/golang/glog" - "github.com/kidoman/embd" - "github.com/kidoman/embd/util" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/util" ) const ( diff --git a/controller/pcal9535a/pcal9535a.go b/controller/pcal9535a/pcal9535a.go index 7dad5a9..8322a5e 100644 --- a/controller/pcal9535a/pcal9535a.go +++ b/controller/pcal9535a/pcal9535a.go @@ -5,7 +5,7 @@ package pcal9535a import ( - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/convertors/mcp3008/mcp3008.go b/convertors/mcp3008/mcp3008.go index e5ecb99..1b21752 100644 --- a/convertors/mcp3008/mcp3008.go +++ b/convertors/mcp3008/mcp3008.go @@ -3,7 +3,7 @@ package mcp3008 import ( "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) // MCP3008 represents a mcp3008 8bit DAC. diff --git a/detect.go b/detect.go index 9f6c6b4..91a3f7e 100644 --- a/detect.go +++ b/detect.go @@ -139,6 +139,6 @@ func DetectHost() (host Host, rev int, err error) { } return HostCHIP, rev, nil default: - return HostNull, 0, fmt.Errorf(`embd: your host "%v:%v" is not supported at this moment. request support at https://github.com/kidoman/embd/issues`, host, model) + return HostNull, 0, fmt.Errorf(`embd: your host "%v:%v" is not supported at this moment. request support at https://github.com/cfreeman/embd/issues`, host, model) } } diff --git a/doc.go b/doc.go index a31cab1..e752408 100644 --- a/doc.go +++ b/doc.go @@ -22,7 +22,7 @@ called as 1-liners instead of first instantiating a DigitalPin and then writing To get started a host driver needs to be registered with the top-level embd package. This is most easily accomplished by doing an "underscore import" on of the sub-packages of embd/host, -e.g., `import _ "github.com/kidoman/embd/host/chip"`. An `Init()` function in the host driver +e.g., `import _ "github.com/cfreeman/embd/host/chip"`. An `Init()` function in the host driver registers all the individual drivers with embd. After getting the host driver the next step might be to instantiate a GPIO pin using @@ -38,7 +38,7 @@ This section shows a few choice samples, more are available in the samples folde Use the LED driver to toggle LEDs on the BBB: - import "github.com/kidoman/embd" + import "github.com/cfreeman/embd" ... embd.InitLED() defer embd.CloseLED() @@ -49,7 +49,7 @@ Use the LED driver to toggle LEDs on the BBB: Even shorter while prototyping: - import "github.com/kidoman/embd" + import "github.com/cfreeman/embd" ... embd.InitLED() defer embd.CloseLED() @@ -58,7 +58,7 @@ Even shorter while prototyping: BBB + PWM: - import "github.com/kidoman/embd" + import "github.com/cfreeman/embd" ... embd.InitGPIO() defer embd.CloseGPIO() @@ -70,7 +70,7 @@ BBB + PWM: Control GPIO pins on the RaspberryPi / BeagleBone Black: - import "github.com/kidoman/embd" + import "github.com/cfreeman/embd" ... embd.InitGPIO() defer embd.CloseGPIO() @@ -80,7 +80,7 @@ Control GPIO pins on the RaspberryPi / BeagleBone Black: Could also do: - import "github.com/kidoman/embd" + import "github.com/cfreeman/embd" ... embd.InitGPIO() defer embd.CloseGPIO() @@ -92,8 +92,8 @@ Could also do: Or read data from the Bosch BMP085 barometric sensor: - import "github.com/kidoman/embd" - import "github.com/kidoman/embd/sensor/bmp085" + import "github.com/cfreeman/embd" + import "github.com/cfreeman/embd/sensor/bmp085" ... bus := embd.NewI2CBus(1) ... @@ -104,8 +104,8 @@ Or read data from the Bosch BMP085 barometric sensor: Even find out the heading from the LSM303 magnetometer: - import "github.com/kidoman/embd" - import "github.com/kidoman/embd/sensor/lsm303" + import "github.com/cfreeman/embd" + import "github.com/cfreeman/embd/sensor/lsm303" ... bus := embd.NewI2CBus(1) ... diff --git a/embd/detect.go b/embd/detect.go index 6659980..183ce08 100644 --- a/embd/detect.go +++ b/embd/detect.go @@ -5,7 +5,7 @@ import ( "os" "github.com/codegangsta/cli" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) func detect(c *cli.Context) { diff --git a/embd/main.go b/embd/main.go index 7ea7424..7e50047 100644 --- a/embd/main.go +++ b/embd/main.go @@ -4,7 +4,7 @@ import ( "os" "github.com/codegangsta/cli" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) var version = "0.1.0" diff --git a/host/all/all.go b/host/all/all.go index 6111be2..73fd03f 100644 --- a/host/all/all.go +++ b/host/all/all.go @@ -2,7 +2,7 @@ package all import ( - _ "github.com/kidoman/embd/host/bbb" - _ "github.com/kidoman/embd/host/edison" - _ "github.com/kidoman/embd/host/rpi" + _ "github.com/cfreeman/embd/host/bbb" + _ "github.com/cfreeman/embd/host/edison" + _ "github.com/cfreeman/embd/host/rpi" ) diff --git a/host/bbb/analogpin.go b/host/bbb/analogpin.go index e12b9dd..1f98f43 100644 --- a/host/bbb/analogpin.go +++ b/host/bbb/analogpin.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) type analogPin struct { diff --git a/host/bbb/analogpin_test.go b/host/bbb/analogpin_test.go index 49f22cb..b43742b 100644 --- a/host/bbb/analogpin_test.go +++ b/host/bbb/analogpin_test.go @@ -3,7 +3,7 @@ package bbb import ( "testing" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) func TestAnalogPinClose(t *testing.T) { diff --git a/host/bbb/bbb.go b/host/bbb/bbb.go index 1f42d7d..c5e4bbc 100644 --- a/host/bbb/bbb.go +++ b/host/bbb/bbb.go @@ -16,8 +16,8 @@ import ( "strings" "github.com/golang/glog" - "github.com/kidoman/embd" - "github.com/kidoman/embd/host/generic" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/host/generic" ) var pins = embd.PinMap{ diff --git a/host/bbb/pwmpin.go b/host/bbb/pwmpin.go index 1bd6c95..eb2234e 100644 --- a/host/bbb/pwmpin.go +++ b/host/bbb/pwmpin.go @@ -11,8 +11,8 @@ import ( "time" "github.com/golang/glog" - "github.com/kidoman/embd" - "github.com/kidoman/embd/util" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/util" ) const ( diff --git a/host/bbb/pwmpin_test.go b/host/bbb/pwmpin_test.go index 1c07ff3..17aef96 100644 --- a/host/bbb/pwmpin_test.go +++ b/host/bbb/pwmpin_test.go @@ -3,7 +3,7 @@ package bbb import ( "testing" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) func TestPWMPinClose(t *testing.T) { diff --git a/host/chip/README.md b/host/chip/README.md index 51fd49e..dc08314 100644 --- a/host/chip/README.md +++ b/host/chip/README.md @@ -1,7 +1,7 @@ # Using embd on CHIP The CHIP drivers support gpio, I2C, SPI, and pin interrupts. Not supported are PWM or LED. -The names of the pins on chip have multiple aliases. The official CHIP pin names are supported, +The names of the pins on chip have multiple aliases. The official CHIP pin names are supported, for example XIO-P1 or LCD-D2 and the pin number are also supported, such as U14-14 (same as XIO-P1) or U13-17. Some of the alternate function names are also supported, like "SPI2_MOSI", and the linux 4.4 kernel gpio pin numbers as well, e.g., 1017 for XIO-P1. Finally, the official GPIO pins @@ -13,8 +13,8 @@ A simple demo to blink an LED connected with a small resistor between XIO-P6 and package main import ( "time" - "github.com/kidoman/embd" - _ "github.com/kidoman/embd/host/chip" + "github.com/cfreeman/embd" + _ "github.com/cfreeman/embd/host/chip" ) func main() { diff --git a/host/chip/chip.go b/host/chip/chip.go index d849df4..cdd6855 100644 --- a/host/chip/chip.go +++ b/host/chip/chip.go @@ -14,8 +14,8 @@ package chip import ( - "github.com/kidoman/embd" - "github.com/kidoman/embd/host/generic" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/host/generic" ) var spiDeviceMinor = 32766 diff --git a/host/edison/edison.go b/host/edison/edison.go index 7dd9f34..e675684 100644 --- a/host/edison/edison.go +++ b/host/edison/edison.go @@ -4,8 +4,8 @@ package edison import ( - "github.com/kidoman/embd" - "github.com/kidoman/embd/host/generic" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/host/generic" ) var pins = embd.PinMap{ diff --git a/host/generic/digitalpin.go b/host/generic/digitalpin.go index 525eeb4..1e50a27 100644 --- a/host/generic/digitalpin.go +++ b/host/generic/digitalpin.go @@ -13,7 +13,7 @@ import ( "syscall" "time" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) type digitalPin struct { diff --git a/host/generic/digitalpin_test.go b/host/generic/digitalpin_test.go index 18e900e..198d05a 100644 --- a/host/generic/digitalpin_test.go +++ b/host/generic/digitalpin_test.go @@ -3,7 +3,7 @@ package generic import ( "testing" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) func TestDigitalPinClose(t *testing.T) { diff --git a/host/generic/i2cbus.go b/host/generic/i2cbus.go index fbe6f55..0f38510 100644 --- a/host/generic/i2cbus.go +++ b/host/generic/i2cbus.go @@ -12,7 +12,7 @@ import ( "unsafe" "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/host/generic/interrupt.go b/host/generic/interrupt.go index 7f9b766..d12695f 100644 --- a/host/generic/interrupt.go +++ b/host/generic/interrupt.go @@ -8,7 +8,7 @@ import ( "sync" "syscall" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/host/generic/led.go b/host/generic/led.go index 67f56c9..b3ca546 100644 --- a/host/generic/led.go +++ b/host/generic/led.go @@ -8,7 +8,7 @@ import ( "os" "strings" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) type led struct { diff --git a/host/generic/spibus.go b/host/generic/spibus.go index a33576f..439cd46 100644 --- a/host/generic/spibus.go +++ b/host/generic/spibus.go @@ -8,7 +8,7 @@ import ( "unsafe" "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/host/rpi/rpi.go b/host/rpi/rpi.go index 9279ca8..5137942 100644 --- a/host/rpi/rpi.go +++ b/host/rpi/rpi.go @@ -9,8 +9,8 @@ package rpi import ( - "github.com/kidoman/embd" - "github.com/kidoman/embd/host/generic" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/host/generic" ) var spiDeviceMinor = 0 diff --git a/interface/keypad/matrix4x3/matrix4x3.go b/interface/keypad/matrix4x3/matrix4x3.go index 6ef984f..fcfe60f 100644 --- a/interface/keypad/matrix4x3/matrix4x3.go +++ b/interface/keypad/matrix4x3/matrix4x3.go @@ -6,7 +6,7 @@ import ( "sync" "time" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) type Key int diff --git a/motion/servo/servo.go b/motion/servo/servo.go index c0876d2..2246077 100644 --- a/motion/servo/servo.go +++ b/motion/servo/servo.go @@ -3,7 +3,7 @@ package servo import ( "github.com/golang/glog" - "github.com/kidoman/embd/util" + "github.com/cfreeman/embd/util" ) const ( diff --git a/samples/28bjy-48.go b/samples/28bjy-48.go index 456b7db..6cd3c92 100644 --- a/samples/28bjy-48.go +++ b/samples/28bjy-48.go @@ -18,8 +18,8 @@ import ( "os/signal" "time" - "github.com/kidoman/embd" - _ "github.com/kidoman/embd/host/rpi" + "github.com/cfreeman/embd" + _ "github.com/cfreeman/embd/host/rpi" ) func main() { diff --git a/samples/analog.go b/samples/analog.go index 687ecd5..b9620b3 100644 --- a/samples/analog.go +++ b/samples/analog.go @@ -9,9 +9,9 @@ import ( "os/signal" "time" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/analogshort.go b/samples/analogshort.go index 064be32..6cd8954 100644 --- a/samples/analogshort.go +++ b/samples/analogshort.go @@ -6,9 +6,9 @@ import ( "flag" "fmt" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/bh1750fvi.go b/samples/bh1750fvi.go index 83e9a72..597b19b 100644 --- a/samples/bh1750fvi.go +++ b/samples/bh1750fvi.go @@ -7,10 +7,10 @@ import ( "fmt" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/sensor/bh1750fvi" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/sensor/bh1750fvi" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/bmp085.go b/samples/bmp085.go index 0fa56ad..2171b64 100644 --- a/samples/bmp085.go +++ b/samples/bmp085.go @@ -7,10 +7,10 @@ import ( "fmt" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/sensor/bmp085" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/sensor/bmp085" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/bmp180.go b/samples/bmp180.go index 845e771..cf2934e 100644 --- a/samples/bmp180.go +++ b/samples/bmp180.go @@ -7,10 +7,10 @@ import ( "fmt" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/sensor/bmp180" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/sensor/bmp180" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/characterdisplay.go b/samples/characterdisplay.go index 7a054aa..a31fff7 100644 --- a/samples/characterdisplay.go +++ b/samples/characterdisplay.go @@ -6,11 +6,11 @@ import ( "flag" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/controller/hd44780" - "github.com/kidoman/embd/interface/display/characterdisplay" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/controller/hd44780" + "github.com/cfreeman/embd/interface/display/characterdisplay" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/fullblinker.go b/samples/fullblinker.go index 7e43b36..42e17e6 100644 --- a/samples/fullblinker.go +++ b/samples/fullblinker.go @@ -11,8 +11,8 @@ import ( "os/signal" "time" - "github.com/kidoman/embd" - _ "github.com/kidoman/embd/host/rpi" + "github.com/cfreeman/embd" + _ "github.com/cfreeman/embd/host/rpi" ) func main() { diff --git a/samples/gpio.go b/samples/gpio.go index b3769eb..d5dbe66 100644 --- a/samples/gpio.go +++ b/samples/gpio.go @@ -6,9 +6,9 @@ import ( "flag" "time" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/gpiodetect.go b/samples/gpiodetect.go index 8bc5f78..d07934a 100644 --- a/samples/gpiodetect.go +++ b/samples/gpiodetect.go @@ -6,9 +6,9 @@ import ( "flag" "time" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/gpiodirect.go b/samples/gpiodirect.go index 85bd22c..de1c965 100644 --- a/samples/gpiodirect.go +++ b/samples/gpiodirect.go @@ -6,9 +6,9 @@ import ( "flag" "time" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/gpiointerrupt.go b/samples/gpiointerrupt.go index 9b6ccc9..211a5b8 100644 --- a/samples/gpiointerrupt.go +++ b/samples/gpiointerrupt.go @@ -6,9 +6,9 @@ import ( "flag" "fmt" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/gpioshort.go b/samples/gpioshort.go index b1c5c2c..5f1a55e 100644 --- a/samples/gpioshort.go +++ b/samples/gpioshort.go @@ -5,9 +5,9 @@ package main import ( "flag" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/hd44780.go b/samples/hd44780.go index 418fa7e..21a51d3 100644 --- a/samples/hd44780.go +++ b/samples/hd44780.go @@ -6,10 +6,10 @@ import ( "flag" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/controller/hd44780" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/controller/hd44780" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/keypad/matrix4x3.go b/samples/keypad/matrix4x3.go index 9b4feda..26b630c 100644 --- a/samples/keypad/matrix4x3.go +++ b/samples/keypad/matrix4x3.go @@ -5,8 +5,8 @@ package main import ( "fmt" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/interface/keypad/matrix4x3" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/interface/keypad/matrix4x3" ) func main() { diff --git a/samples/l3gd20.go b/samples/l3gd20.go index f0a94e6..63692a1 100644 --- a/samples/l3gd20.go +++ b/samples/l3gd20.go @@ -9,10 +9,10 @@ import ( "os/signal" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/sensor/l3gd20" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/sensor/l3gd20" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/led.go b/samples/led.go index 82650d0..18fdb40 100644 --- a/samples/led.go +++ b/samples/led.go @@ -11,9 +11,9 @@ import ( "os/signal" "time" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" - _ "github.com/kidoman/embd/host/bbb" + _ "github.com/cfreeman/embd/host/bbb" ) func main() { diff --git a/samples/ledshort.go b/samples/ledshort.go index 64a01ce..d2b834f 100644 --- a/samples/ledshort.go +++ b/samples/ledshort.go @@ -8,9 +8,9 @@ import ( "flag" "time" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" - _ "github.com/kidoman/embd/host/bbb" + _ "github.com/cfreeman/embd/host/bbb" ) func main() { diff --git a/samples/lsm303.go b/samples/lsm303.go index e4461de..7e41dd7 100644 --- a/samples/lsm303.go +++ b/samples/lsm303.go @@ -7,10 +7,10 @@ import ( "fmt" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/sensor/lsm303" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/sensor/lsm303" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/mcp3008.go b/samples/mcp3008.go index 791d56a..34afe86 100644 --- a/samples/mcp3008.go +++ b/samples/mcp3008.go @@ -8,9 +8,9 @@ import ( "fmt" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/convertors/mcp3008" - _ "github.com/kidoman/embd/host/all" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/convertors/mcp3008" + _ "github.com/cfreeman/embd/host/all" ) const ( diff --git a/samples/mcp4725.go b/samples/mcp4725.go index ad80967..01b7fe0 100644 --- a/samples/mcp4725.go +++ b/samples/mcp4725.go @@ -9,10 +9,10 @@ import ( "os" "os/signal" - "github.com/kidoman/embd" - "github.com/kidoman/embd/controller/mcp4725" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/controller/mcp4725" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/pca9685.go b/samples/pca9685.go index 9976340..cb822f3 100644 --- a/samples/pca9685.go +++ b/samples/pca9685.go @@ -8,10 +8,10 @@ import ( "os/signal" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/controller/pca9685" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/controller/pca9685" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/pwm.go b/samples/pwm.go index cecbc4d..b64b112 100644 --- a/samples/pwm.go +++ b/samples/pwm.go @@ -8,10 +8,10 @@ import ( "flag" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/host/bbb" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/host/bbb" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/servo.go b/samples/servo.go index 2e82dd8..d816e09 100644 --- a/samples/servo.go +++ b/samples/servo.go @@ -8,11 +8,11 @@ import ( "os/signal" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/controller/pca9685" - "github.com/kidoman/embd/motion/servo" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/controller/pca9685" + "github.com/cfreeman/embd/motion/servo" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/servobbb.go b/samples/servobbb.go index fbf0db1..244b036 100644 --- a/samples/servobbb.go +++ b/samples/servobbb.go @@ -8,10 +8,10 @@ import ( "os/signal" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/motion/servo" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/motion/servo" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/servoblaster.go b/samples/servoblaster.go index b2d4cdf..6188d1c 100644 --- a/samples/servoblaster.go +++ b/samples/servoblaster.go @@ -8,10 +8,10 @@ import ( "os/signal" "time" - "github.com/kidoman/embd/controller/servoblaster" - "github.com/kidoman/embd/motion/servo" + "github.com/cfreeman/embd/controller/servoblaster" + "github.com/cfreeman/embd/motion/servo" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/simpleblinker.go b/samples/simpleblinker.go index 9e4f780..f9bea32 100644 --- a/samples/simpleblinker.go +++ b/samples/simpleblinker.go @@ -8,8 +8,8 @@ package main import ( "time" - "github.com/kidoman/embd" - _ "github.com/kidoman/embd/host/rpi" // This loads the RPi driver + "github.com/cfreeman/embd" + _ "github.com/cfreeman/embd/host/rpi" // This loads the RPi driver ) func main() { diff --git a/samples/spi.go b/samples/spi.go index 20d606c..86a7fc8 100644 --- a/samples/spi.go +++ b/samples/spi.go @@ -5,8 +5,8 @@ package main import ( "fmt" - "github.com/kidoman/embd" - _ "github.com/kidoman/embd/host/all" + "github.com/cfreeman/embd" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/spimcp3008.go b/samples/spimcp3008.go index 394243e..5ac86ed 100644 --- a/samples/spimcp3008.go +++ b/samples/spimcp3008.go @@ -7,8 +7,8 @@ import ( "fmt" "time" - "github.com/kidoman/embd" - _ "github.com/kidoman/embd/host/all" + "github.com/cfreeman/embd" + _ "github.com/cfreeman/embd/host/all" ) const ( diff --git a/samples/tmp006.go b/samples/tmp006.go index 6252b00..354ca3e 100644 --- a/samples/tmp006.go +++ b/samples/tmp006.go @@ -8,10 +8,10 @@ import ( "os" "os/signal" - "github.com/kidoman/embd" - "github.com/kidoman/embd/sensor/tmp006" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/sensor/tmp006" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/universalblinker.go b/samples/universalblinker.go index 190ae1d..6562245 100644 --- a/samples/universalblinker.go +++ b/samples/universalblinker.go @@ -10,8 +10,8 @@ import ( "os/signal" "time" - "github.com/kidoman/embd" - _ "github.com/kidoman/embd/host/all" + "github.com/cfreeman/embd" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/us020.go b/samples/us020.go index f0e7537..b9576e4 100644 --- a/samples/us020.go +++ b/samples/us020.go @@ -9,10 +9,10 @@ import ( "os/signal" "time" - "github.com/kidoman/embd" - "github.com/kidoman/embd/sensor/us020" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/sensor/us020" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/samples/watersensor.go b/samples/watersensor.go index ff4ba8a..3fc0eff 100644 --- a/samples/watersensor.go +++ b/samples/watersensor.go @@ -7,10 +7,10 @@ import ( "time" "github.com/golang/glog" - "github.com/kidoman/embd" - "github.com/kidoman/embd/sensor/watersensor" + "github.com/cfreeman/embd" + "github.com/cfreeman/embd/sensor/watersensor" - _ "github.com/kidoman/embd/host/all" + _ "github.com/cfreeman/embd/host/all" ) func main() { diff --git a/sensor/bh1750fvi/bh1750fvi.go b/sensor/bh1750fvi/bh1750fvi.go index 6903bb8..7f9b027 100644 --- a/sensor/bh1750fvi/bh1750fvi.go +++ b/sensor/bh1750fvi/bh1750fvi.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) //accuracy = sensorValue/actualValue] (min = 0.96, typ = 1.2, max = 1.44 diff --git a/sensor/bme280/bme280.go b/sensor/bme280/bme280.go index 09174ad..d9e38b6 100644 --- a/sensor/bme280/bme280.go +++ b/sensor/bme280/bme280.go @@ -3,7 +3,7 @@ package bme280 import ( - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/sensor/bmp085/bmp085.go b/sensor/bmp085/bmp085.go index b58b37b..eea540e 100644 --- a/sensor/bmp085/bmp085.go +++ b/sensor/bmp085/bmp085.go @@ -8,7 +8,7 @@ import ( "time" "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/sensor/bmp180/bmp180.go b/sensor/bmp180/bmp180.go index fdc46f3..bb18a6a 100644 --- a/sensor/bmp180/bmp180.go +++ b/sensor/bmp180/bmp180.go @@ -8,7 +8,7 @@ import ( "time" "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/sensor/l3gd20/l3gd20.go b/sensor/l3gd20/l3gd20.go index c3ad94a..c3a6c75 100644 --- a/sensor/l3gd20/l3gd20.go +++ b/sensor/l3gd20/l3gd20.go @@ -8,7 +8,7 @@ import ( "time" "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/sensor/lsm303/lsm303.go b/sensor/lsm303/lsm303.go index 583a0a8..40e4d31 100644 --- a/sensor/lsm303/lsm303.go +++ b/sensor/lsm303/lsm303.go @@ -7,7 +7,7 @@ import ( "time" "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/sensor/tmp006/tmp006.go b/sensor/tmp006/tmp006.go index 842204b..42ca679 100644 --- a/sensor/tmp006/tmp006.go +++ b/sensor/tmp006/tmp006.go @@ -9,7 +9,7 @@ import ( "time" "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/sensor/us020/us020.go b/sensor/us020/us020.go index b7d400a..0d021ce 100644 --- a/sensor/us020/us020.go +++ b/sensor/us020/us020.go @@ -6,7 +6,7 @@ import ( "time" "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) const ( diff --git a/sensor/watersensor/watersensor.go b/sensor/watersensor/watersensor.go index c83628e..1fd6d98 100644 --- a/sensor/watersensor/watersensor.go +++ b/sensor/watersensor/watersensor.go @@ -5,7 +5,7 @@ import ( "sync" "github.com/golang/glog" - "github.com/kidoman/embd" + "github.com/cfreeman/embd" ) // WaterSensor represents a water sensor.