Commit Graph

245 Commits

Author SHA1 Message Date
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
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
Karan Misra 5b852d9f42 gpio: provide an api to allow performance timing of pulses
the us020 driver is the first consumer of this functionality
2014-04-05 04:06:40 +05:30