alsm
9401acd013
embd, rpi: determine pi revision, make rev2 pinmap default
...
added a function to determine the revision of the pi the program is
running on from "Revision" field in /proc/cpuinfo, also made the rev2
gpio pinmap the default
2014-09-09 15:57:27 +01:00
SjB
1d0dd75f23
gpio: added missing function in fakeDigitalPin
2014-09-02 23:33:07 -04: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
kunalpowar
6ad940090c
fixing link errors
2014-05-22 14:41:07 +05:30
kunalpowar
64ce088b69
convertors: added doc
2014-05-22 14:33:32 +05:30
kunalpowar
66b6aaf1a9
spi: added go doc and updated readme
2014-05-22 12:10:14 +05:30
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
5965ddf789
spi: fix for breaking build
2014-05-22 03:03:22 +05:30
kunalpowar
32c9a96af5
spi: remove types from const declarations and added few more go docs
2014-05-22 02:58:15 +05:30
Karan Misra
9bc13a9654
fix a typo in the supported hosts list
2014-05-22 02:56:50 +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
454eca42d0
spi: got rid of shouldInitialize arg in spibus (redundant).
2014-05-22 02:22:18 +05:30
kunalpowar
f80e6f624d
spi: using defer for cleanup
2014-05-22 02:22:18 +05:30
kunalpowar
9206358abe
spi: refactoring for err handling
2014-05-22 02:22:18 +05:30
kunalpowar
c42a345a60
spi: added godoc
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
Karan Misra
0e373241a3
doc: import all in code examples
2014-05-19 11:29:42 +05:30
Karan Misra
5e17d3721c
doc: use ``` for embedded code
2014-05-19 11:27:57 +05:30
Karan Misra
b0f00069b5
doc: list of contributors
2014-05-19 11:20:28 +05:30
Karan Misra
ccaa5d4909
Merge pull request #7 from marcomonteiro/version_parsing_bug_fix
...
fix a bug parsing version numbers with a hyphen at the end
2014-05-16 12:32:39 +05:30
Marco P. Monteiro
6c98eeb15f
fixes a bug parsing version numbers with a hyphen at the end
2014-05-15 23:48:53 -07:00
Karan Misra
6570792356
doc: embed link
2014-05-11 21:46:24 +05:30
Karan Misra
d8dfeefe7a
doc: update blog post link
...
removed https
2014-05-11 21:45:49 +05:30
Karan Misra
56f8d19b33
doc: add link to intro blog post
2014-05-08 04:31:43 +05:30
kunalpowar
59958d7dfc
mcp3008: added package and samples for mcp3008 10-bit 8-channel adc
2014-05-03 21:35:09 +05:30
kunalpowar
42033238e2
spi: use a initializer if required by any host
2014-05-01 22:44:41 +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
e97394e7c2
doc: format the example go code properly
2014-04-24 03:03:38 +05:30
Karan Misra
9da9a5c021
ci: do not build the go-rpi branch
2014-04-24 03:03:20 +05:30
Karan Misra
ce4fab41da
samples: change simpleblinker to match docs
2014-04-24 03:03:02 +05:30
Karan Misra
7bbad67d14
doc: -superheroic
2014-04-16 14:05:13 +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
7c51f968af
doc: make the LED example unambiguous
2014-04-12 10:16:35 +05:30
Karan Misra
be0c0daf48
samples: cleanup
2014-04-11 17:50:23 +05:30
Karan Misra
175436be65
doc: don't need to install glog explicitly anymore
2014-04-11 14:01:49 +05:30
Karan Misra
51ec19d6a1
hal: log when host is registered
2014-04-11 13:59:58 +05:30
Karan Misra
138c100f8d
doc: add 'Getting Started' section
2014-04-11 11:04:03 +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
94f99476c2
allow lazy initialisation of the drivers
...
this allows brevity in the sample codes (and should not be misutilized
in real world applications)
2014-04-11 09:19:03 +05:30
Karan Misra
9ac0872493
rpi: led support
...
this adds support for controlling the green LED (the one next to the red
power LED)
2014-04-11 09:12:45 +05:30