kunalpowar
2d3dee8764
spi: more refactoring
2014-05-22 02:33:24 +05:30
kunalpowar
67d316851a
spi: finishing touches
2014-05-22 02:22:18 +05:30
kunalpowar
0f23150374
spi: removing blank line
2014-05-22 02:22:18 +05:30
kunalpowar
f80e6f624d
spi: using defer for cleanup
2014-05-22 02:22:18 +05:30
kunalpowar
dbc97bd15c
mcp3008: changes to use external spiBus
2014-05-22 02:22:18 +05:30
kunalpowar
1bb2bac8f1
spi: variables/method name, err handling changes to follow idiomatic go
2014-05-22 02:22:18 +05:30
Kunal Powar
4191327632
spi: ignore build for sample codes
2014-05-22 02:21:55 +05:30
kunalpowar
59958d7dfc
mcp3008: added package and samples for mcp3008 10-bit 8-channel adc
2014-05-03 21:35:09 +05:30
Kunal Powar
faa686f01c
spi: changes in fields/symbols to follow idiomatic go
2014-04-28 03:13:57 +05:30
Kunal Powar
12db8443b0
spi: added spi feature for all bbb and rpi
2014-04-28 01:18:14 +05:30
Karan Misra
fdd1d6b5c3
samples: universal blinker example
2014-04-25 02:28:01 +05:30
Karan Misra
e73b70b296
samples: changes to led
...
- blink every 250 msec
- use Println instead of Printf with \n
2014-04-25 02:27:44 +05:30
Karan Misra
ce4fab41da
samples: change simpleblinker to match docs
2014-04-24 03:03:02 +05:30
Karan Misra
94e2ca4ae3
doc: cleanup
...
also, change the code in simpleblinker.go to match the docs
2014-04-13 14:02:15 +05:30
Karan Misra
be0c0daf48
samples: cleanup
2014-04-11 17:50:23 +05:30
Karan Misra
946aa2694f
samples: full blinker rpi example
...
this is a more complete version of the simple blinker. this cleans up
after itself
2014-04-11 10:51:29 +05:30
Karan Misra
ad9dea5616
samples: simpleblinker rpi example
...
does not cleanup up after itself, but is concise
2014-04-11 09:21:31 +05:30
Karan Misra
859a6619f8
samples: these are specific to bob, so only load the bbb host
2014-04-11 09:10:17 +05:30
Karan Misra
c35deeb17c
host specific drivers can now be loaded separately
...
this ensures cleaner abstractions/code and will ensure that the produced
binary is as small as possible. a convenience package is provided to
easily load all hosts easily: "github.com/kidoman/embd/host/all"
2014-04-06 06:50:09 +05:30
Karan Misra
d16c010c3d
samples: servobbb cleanup
2014-04-06 04:09:40 +05:30
Karan Misra
18ea690072
samples: fix servobbb sample
2014-04-06 04:09:28 +05:30
Kunal Powar
779096e668
samples: enable flag parsing
...
this will allow people to use glog options (like -v=3) to increase
verbosity of the log output
2014-04-05 01:43:16 +05:30
Karan Misra
fc887282bf
unified servo and analog output support for pwms
2014-04-02 17:25:28 +05:30
Karan Misra
9ab49745bc
- use glog instead of Debug flag
...
- use glog instead of log
- make code conform to the Go code guidelines
2014-03-31 18:46:04 +05:30
Kunal Powar
14b078a43e
gpio: pwm support for bbb
2014-03-28 08:32:22 +05:30
Karan Misra
d171cfdc90
documentation changes
2014-03-23 15:47:58 +05:30
Karan Misra
bf8a4be4d9
led: support led functionality on the bbb
2014-03-23 06:25:32 +05:30
Karan Misra
0ac16b97dd
gpio: add short analog (bbb) example
2014-03-23 05:14:25 +05:30
Karan Misra
d64682bf34
gpio: analog pin support for the bbb
2014-03-23 04:59:35 +05:30
Karan Misra
ca6eb80458
bring the matrix4x3 library up to date
2014-03-03 00:55:20 +05:30
Karan Misra
36f2c0486d
simplify package structure
2014-03-03 00:51:23 +05:30
Karan Misra
ab1681ce8d
ci: build samples properly
2014-03-02 13:27:06 +05:30
Karan Misra
2cd6680ea8
ignore the sample files during build
2014-03-02 12:36:34 +05:30
Karan Misra
b16be3e0b1
samples: defer pin close in gpio sample
2014-03-02 12:21:49 +05:30
Karan Misra
1d33c3e3bb
watersensor: upgrade to embd/gpio
2014-03-02 12:21:29 +05:30
Karan Misra
4e67e7eb11
fix a bunch of build errors
2014-03-02 12:09:57 +05:30
Karan Misra
3d08995000
make the framework easier to begin with
2014-03-01 20:19:44 +05:30
Karan Misra
ef87ad7879
make the process of registered available hosts less clunky
2014-02-27 05:59:38 +05:30
Karan Misra
3effbff471
prefix host names with "Host"
2014-02-27 05:05:51 +05:30
Karan Misra
6f8576873f
samples: ignore all the binaries
2014-02-27 04:47:33 +05:30
Karan Misra
6ea4e31399
more streamlining
2014-02-27 04:44:50 +05:30
Karan Misra
b5e2d0acc7
bring in the idea of a hardware abstraction layer
2014-02-27 04:24:53 +05:30
Karan Misra
b7096cfe6c
gpio library for rpi
2014-02-17 03:41:53 +05:30
Karan Misra
283e8eb140
kid0m4n/go-rpi -> kidoman/embd
2014-02-10 05:10:06 +05:30
Karan Misra
c61631dc1a
samples: fix to reflect changes in i2c library
2014-02-08 03:52:06 +05:30
Karan Misra
cd54380887
matrix4x3: client should ensure rpio is initialised before using
2014-02-08 02:21:18 +05:30
Karan Misra
d2ffacd22c
us020: client should ensure rpio is initialised before using
2014-02-08 02:21:01 +05:30
Kunal Powar
3843fd4ddf
Added SPI Library
2014-01-30 16:20:43 +05:30
Karan Misra
95b06553e5
l3gd20: clean up
2014-01-09 05:26:21 +05:30
Karan Misra
1b6c346d40
us020: decouple from bmp085 and default to 25 C when we cannot detect
...
the ambient temperature
2014-01-09 03:39:06 +05:30