Commit Graph

154 Commits

Author SHA1 Message Date
Karan Misra dfb7e63768 gpio: test -ve case when looking up pins 2014-03-23 02:31:47 +05:30
Karan Misra d193c200ea gpio: rename 2014-03-23 02:10:23 +05:30
Karan Misra 833ab3a472 - add analog pin details to bbb descriptor
- pinMap lookups now honor pin capabilities
2014-03-23 01:36:24 +05:30
Karan Misra 53e6c55378 gpio: allow specifying the digital logical pin number as required 2014-03-23 01:11:24 +05:30
Karan Misra 83c5f3f4d7 gpio: refactor 2014-03-22 12:23:56 +05:30
Karan Misra 638dc8e22d ci: test 1.2.1 on travis 2014-03-22 10:33:29 +05:30
Karan Misra 6d3b3ae571 gpio: digital pin is responsible for exporting/unexporting itself 2014-03-22 10:24:29 +05:30
Karan Misra df15190e33 separate file for digitalPin 2014-03-22 09:08:23 +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 3cae4064dc be specific about the unsupported host 2014-03-02 19:39:30 +05:30
Karan Misra 1ebbe540a5 remove trailing white space 2014-03-02 19:39:04 +05:30
Karan Misra 624ce1bb16 add test for Map 2014-03-02 14:53:09 +05:30
Karan Misra faa18255bd doc: add travis build status 2014-03-02 14:36:21 +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
Karan Misra 026f5fe3f3 ci: build the samples after running tests 2014-03-02 11:24:35 +05:30
Karan Misra e5e2aecaed enable travis integration 2014-03-02 02:38:32 +05:30
Karan Misra d0cc5f4e35 fixed parsing of the raspberry pi's kernel version 2014-03-02 01:54:01 +05:30
Karan Misra 02defd2cc0 adhere to the go style guide 2014-03-02 01:21:52 +05:30
Karan Misra 3d08995000 make the framework easier to begin with 2014-03-01 20:19:44 +05:30
Karan Misra ef87ad7879 make the process of registered available hosts less clunky 2014-02-27 05:59:38 +05:30
Karan Misra 2504678ba9 move the generic gpio/i2c drivers to their own folder 2014-02-27 05:34:36 +05:30
Karan Misra 860de34cb2 bbb: do not export pins 2014-02-27 05:21:24 +05:30
Kunal Powar 66d0ab22fd added BeagleBone Black (bbb) as one of the supported hosts 2014-02-27 05:17:21 +05:30
Karan Misra 3effbff471 prefix host names with "Host" 2014-02-27 05:05:51 +05:30
Karan Misra 6f8576873f samples: ignore all the binaries 2014-02-27 04:47:33 +05:30
Karan Misra 6ea4e31399 more streamlining 2014-02-27 04:44:50 +05:30
Karan Misra b5e2d0acc7 bring in the idea of a hardware abstraction layer 2014-02-27 04:24:53 +05:30
Karan Misra b4de382833 gpio: add missing aliases for rpi pins 2014-02-17 18:26:52 +05:30
Karan Misra b7096cfe6c gpio library for rpi 2014-02-17 03:41:53 +05:30
Karan Misra 283e8eb140 kid0m4n/go-rpi -> kidoman/embd 2014-02-10 05:10:06 +05:30
Karan Misra c61631dc1a samples: fix to reflect changes in i2c library 2014-02-08 03:52:06 +05:30
Karan Misra cd54380887 matrix4x3: client should ensure rpio is initialised before using 2014-02-08 02:21:18 +05:30
Karan Misra d2ffacd22c us020: client should ensure rpio is initialised before using 2014-02-08 02:21:01 +05:30
Karan Misra 96a92383e2 i2c: lazy init 2014-02-08 01:50:56 +05:30
Kunal Powar 3843fd4ddf Added SPI Library 2014-01-30 16:20:43 +05:30
Karan Misra f61f69e51e pca9685: allow it to be initialised with default frequency 2014-01-10 07:40:24 +05:30
Karan Misra 043867e1f5 pca9685: default the freq to 490 Hz 2014-01-10 07:36:01 +05:30
Karan Misra a80a1701bf pca9685: move pre scale calculation closer to usage 2014-01-10 07:35:21 +05:30
Karan Misra 6da275f5b4 pca9685: add SetAnalog method 2014-01-09 15:48:35 +05:30
Karan Misra 95b06553e5 l3gd20: clean up 2014-01-09 05:26:21 +05:30
Karan Misra 1b6c346d40 us020: decouple from bmp085 and default to 25 C when we cannot detect
the ambient temperature
2014-01-09 03:39:06 +05:30
Karan Misra 1b5a3a40c3 us020: add prefix us020 to log messages 2014-01-09 03:06:57 +05:30
Karan Misra 7809d9d6ba servo: assume good defaults for minus and maxus (544 and 2400, as per
the Arduino documentation: http://arduino.cc/en/Reference/ServoAttach)
2014-01-09 02:41:50 +05:30
Karan Misra 7c32e907e1 - support for servo blaster
- servo requires the underlying PWM to support a SetMicroseconds method
2014-01-09 02:35:18 +05:30
Karan Misra cce1943e34 l3gd20: reset the timer after reading gyro reading 2014-01-09 00:56:44 +05:30