Commit Graph

9 Commits

Author SHA1 Message Date
SjB 1d0dd75f23 gpio: added missing function in fakeDigitalPin 2014-09-02 23:33:07 -04:00
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 18c574b7c8 gpio: fix failing tests 2014-04-06 04:08:44 +05:30
Karan Misra 2172e9384c gpio: cleanup test code 2014-04-06 04:05:18 +05:30
Kunal Powar 14b078a43e gpio: pwm support for bbb 2014-03-28 08:32:22 +05:30
Karan Misra 2d627aad67 gpio: CapNormal -> CapAnalog 2014-03-23 14:11:09 +05:30
Karan Misra d64682bf34 gpio: analog pin support for the bbb 2014-03-23 04:59:35 +05:30
Karan Misra f667c93b7a gpio: simplify and test the logic 2014-03-23 02:32:26 +05:30