1
0
Fork 0
mirror of https://github.com/kidoman/embd synced 2025-07-03 20:07:40 +02:00

OneWire bus impl - changed imports to the original ones so that merge is possible

This commit is contained in:
Max Matveev 2016-02-05 22:23:18 -08:00
parent 82f119fadb
commit 14009091a0
69 changed files with 179 additions and 178 deletions

View file

@ -2,6 +2,6 @@
package all
import (
_ "github.com/zlowred/embd/host/bbb"
_ "github.com/zlowred/embd/host/rpi"
_ "github.com/kidoman/embd/host/bbb"
_ "github.com/kidoman/embd/host/rpi"
)

View file

@ -9,7 +9,7 @@ import (
"strconv"
"strings"
"github.com/zlowred/embd"
"github.com/kidoman/embd"
)
type analogPin struct {

View file

@ -3,7 +3,7 @@ package bbb
import (
"testing"
"github.com/zlowred/embd"
"github.com/kidoman/embd"
)
func TestAnalogPinClose(t *testing.T) {

View file

@ -16,8 +16,8 @@ import (
"strings"
"github.com/golang/glog"
"github.com/zlowred/embd"
"github.com/zlowred/embd/host/generic"
"github.com/kidoman/embd"
"github.com/kidoman/embd/host/generic"
)
var pins = embd.PinMap{

View file

@ -11,8 +11,8 @@ import (
"time"
"github.com/golang/glog"
"github.com/zlowred/embd"
"github.com/zlowred/embd/util"
"github.com/kidoman/embd"
"github.com/kidoman/embd/util"
)
const (

View file

@ -3,7 +3,7 @@ package bbb
import (
"testing"
"github.com/zlowred/embd"
"github.com/kidoman/embd"
)
func TestPWMPinClose(t *testing.T) {

View file

@ -12,7 +12,7 @@ import (
"strconv"
"time"
"github.com/zlowred/embd"
"github.com/kidoman/embd"
)
type digitalPin struct {

View file

@ -3,7 +3,7 @@ package generic
import (
"testing"
"github.com/zlowred/embd"
"github.com/kidoman/embd"
)
func TestDigitalPinClose(t *testing.T) {

View file

@ -12,7 +12,7 @@ import (
"unsafe"
"github.com/golang/glog"
"github.com/zlowred/embd"
"github.com/kidoman/embd"
)
const (

View file

@ -8,7 +8,7 @@ import (
"sync"
"syscall"
"github.com/zlowred/embd"
"github.com/kidoman/embd"
)
const (

View file

@ -8,7 +8,7 @@ import (
"os"
"strings"
"github.com/zlowred/embd"
"github.com/kidoman/embd"
)
type led struct {

View file

@ -8,7 +8,7 @@ import (
"unsafe"
"github.com/golang/glog"
"github.com/zlowred/embd"
"github.com/kidoman/embd"
)
const (

View file

@ -8,7 +8,7 @@ import (
"sync"
"github.com/golang/glog"
"github.com/zlowred/embd"
"github.com/kidoman/embd"
"io/ioutil"
)

View file

@ -5,13 +5,14 @@
GPIO (digital (rw))
I²C
LED
W1 - make sure that w1-gpio kernel module is loaded. If you wish to use it with sensors directly (e.g. DS18B20 etc) make sure to disable respective kernel modules (e.g. w1-therm) in /etc/modprobe.d/blacklist.conf.
W1 - make sure that w1-gpio kernel module is loaded. If you wish to use it with sensors directly (e.g. DS18B20 etc)
make sure to disable respective kernel modules (e.g. w1-therm) in /etc/modprobe.d/blacklist.conf.
*/
package rpi
import (
"github.com/zlowred/embd"
"github.com/zlowred/embd/host/generic"
"github.com/kidoman/embd"
"github.com/kidoman/embd/host/generic"
"fmt"
)