1
0
mirror of https://github.com/kidoman/embd synced 2024-12-22 12:50:19 +01:00

196 Commits

Author SHA1 Message Date
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
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
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
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
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
87e958c01d doc: cleanup + consistency
Platform supported -> Platform Supported
2014-04-11 08:05:59 +05:30
Karan Misra
860c374544 doc: getting help 2014-04-11 08:05:15 +05:30
Karan Misra
4ebfe9ccc7 doc: how to contribute 2014-04-11 07:58:38 +05:30
Karan Misra
03dc549a01 doc: add the about section 2014-04-11 07:58:38 +05:30
Kunal Powar
68ba342e1b i2c: added debug logs 2014-04-10 07:38:14 +05:30
Kunal Powar
2ee0cbc899 i2c: fixed missing init call 2014-04-10 07:29:06 +05:30
Karan Misra
5c0ae1c83a doc: add roadmap 2014-04-07 02:45:20 +05:30
Karan Misra
1f083ce3bd doc: clarity ThoughtWorks role 2014-04-07 02:38:55 +05:30
Karan Misra
ebfe2e5796 cli: initial commit
this introduces the embd cli tool
2014-04-07 02:37:49 +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
57328c979d gpio: implement pin caching
this allows for the short version of the API to work as expected as
consecutive calls to the same pin would now be internally working on the
pin instance (all the 3 currently supported types). closing a pin busts
the cache
2014-04-06 05:30:54 +05:30
Karan Misra
6f90af377d gpio: create types for the pin factory methods 2014-04-06 04:52:11 +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
Karan Misra
18c574b7c8 gpio: fix failing tests 2014-04-06 04:08:44 +05:30
Karan Misra
0c193071ed ci: fix travis.yml so that failure is captured properly
subtle errors in the config were causing test failures to be ignored
2014-04-06 04:06:22 +05:30
Karan Misra
2172e9384c gpio: cleanup test code 2014-04-06 04:05:18 +05:30