Wu Jiang
1b48067d77
Println doesn't accept formatting.
...
It looks like this is caused by confusion between `fmt.Println` and `fmt.Printf`.
2015-12-22 17:05:28 -05:00
Wu Jiang
42be169804
Fix typo
...
TransferAndRecieveData --> TransferAndReceiveData
2015-12-22 12:54:33 -05:00
Karan Misra
91dc0f5744
Merge pull request #19 from matthewdale/master
...
controller: add a lib for the HD44780 character display controller
2015-04-09 14:50:57 +05:30
Ben Schwartz
3574e65c8d
moving ticker.Stop to defer statement when creating ticker
2015-03-31 20:22:47 -05:00
Ben Schwartz
333194b96f
style updates, removing time.Close
2015-03-31 20:16:06 -05:00
Ben Schwartz
38897e416b
style updates, removing error checking from defer, and closing timer channel
2015-03-31 18:16:02 -05:00
Ben Schwartz
2e3e23a155
style updates and using ticker to time steps
2015-03-30 19:10:19 -05:00
Ben Schwartz
ae26e1d7f0
adding stepper motor example
2015-03-29 09:02:10 -05:00
Matthew Dale
915b3b76a7
interface: add an abstraction layer for character displays
...
the characterdisplay package is an abstraction layer for controlling
character displays
also includes refactors to the hd44780 package to fit the
characterdisplay Controller interface
2015-02-25 00:12:09 -08:00
Matthew Dale
dac729e4fd
controller: add a lib for the HD44780 character display controller
...
the hd44780 package supports HD44780 character display controllers
connected by either a 4-bit GPIO bus or an I2C bus
it also includes a high-level wrapper for easily printing messages
2015-01-06 23:57:26 -08:00
SjB
0fa1d1b61c
gpio: adding interrupt
...
this is inspired by Dave Cheney's gpio library and his work on EPOLL
2014-09-02 23:12:55 -04:00
Karan Misra
c28f7a2de9
Merge pull request #6 from kunalpowar/spi
2014-05-22 03:27:31 +05:30
kunalpowar
bb82613c64
spi: code fixes in samples
2014-05-22 03:14:33 +05:30
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
Karan Misra
9c61da0bcf
samples: reduce delay in universalblinker to 200 ms
2014-04-28 11:09:34 +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