deadprogram
8e28bcc54f
up2: extract shared SPI init code into spi package
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 13:16:50 +01:00
Aniket
10925804ae
some refactoring
2017-12-02 17:39:04 +08:00
Aniket
0fa30aeb62
Adding stepper motor module
2017-12-02 14:01:07 +08:00
stan
4d1612bb57
Change init payload sequence within jhd1313m1 driver Start() func.
...
+ code transposed from github.com/Seeed-Studio/Grove_LCD_RGB_Backlight/blob/master/rgb_lcd.cpp.
+ this fix ensures that the 2 lcd lines are addressable.
2017-11-05 16:56:51 +01:00
deadprogram
9a6c270521
i2c: SSD1306.WithDisplayHeight() and SSD1306.WithDisplayWidth() for SSD1306 that use different display ratios
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-22 10:54:31 +02:00
deadprogram
9f1e5fe34b
gpio: Add ButtonDriver.DefaultState to allow for 'reverse' buttons (ones that go from HIGH to LOW)
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-10-22 10:28:39 +02:00
Ron Evans
50c3d42809
Merge pull request #450 from akumbhani66/master
...
Fixed typo.
2017-09-24 23:01:40 +02:00
ashvin
927aee595b
fixed typo
2017-09-23 14:16:19 +05:30
deadprogram
019300cb34
docs: some helpful edits for the initial spi implementation
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-09-14 14:05:51 +02:00
Ulises Flynn
d362e47874
Remove address from spi code
2017-09-12 00:51:01 -06:00
Ulises Flynn
4bd3b675c6
Moved gopigo3 to a platform
2017-09-06 23:53:28 -06:00
Ulises Flynn
94f5ded2d6
First cut of the GoPiGo3 driver, lacking grove peripherals.
2017-08-24 23:38:26 -06:00
deadprogram
0581133574
i2c: exclude sysfs oriented tests on Windows, at least for now
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-07-12 09:47:44 -06:00
deadprogram
472856310a
i2c: refactor i2c interface definitions out of sysfs into i2c package
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-07-12 09:00:35 -06:00
deadprogram
1fe7469a1c
i2c: improve docs and test coverage for PCA9685
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-23 20:55:28 +02:00
deadprogram
876ada9aa7
i2c: add PCA9685 servo driver to README
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-23 20:18:02 +02:00
deadprogram
b2694db62b
i2c: initial implementation for PCA9685 servo driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-23 20:14:24 +02:00
deadprogram
f16e2cdb04
gpio: correct docs formatting for Servo driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-23 20:14:24 +02:00
John Pauley
388f99e93c
fix signed/unsigned bug
2017-06-15 14:04:08 +02:00
Graeme Cross
2ebbc97e49
Fixed incorrect error condition check when reading the 'ctrl_hum' register.
...
Expanded the BME280 unit test for TestBME280DriverStart() to support reading
from the 'ctrl_hum' register.
Signed-off-by: Graeme Cross <graeme@ceriumdesigns.com>
2017-06-15 14:04:08 +02:00
Graeme Cross
95b0fe880f
Improved BME280 humidity initialisation so that it does not override existing
...
oversampling rates that have been set up for the ctrl_meas register.
The humidity oversampling rate is set to 1 (as per Section 3.5 of the BME280
data sheet).
Signed-off-by: Graeme Cross <graeme@ceriumdesigns.com>
2017-06-15 14:04:08 +02:00
Graeme Cross
18cfa16cc7
Issue #424 : Enables humidity readings in the BME280 driver by enforcing the write to the 'ctrl_meas' register, as per Section 5.4.3 of the BME280 data sheet
...
Signed-off-by: Graeme Cross <graeme@ceriumdesigns.com>
2017-06-15 14:04:08 +02:00
deadprogram
d6781a478a
i2c: remove unused test code
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
John Pauley
5f2bb180ee
write config register in little endian
2017-06-15 14:04:08 +02:00
deadprogram
9d59a7c815
i2c: ensure lock of i2c bus for each individual operation
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-07 22:28:07 +02:00
John Pauley
1bce89ab32
gofmt, goimports
2017-05-05 20:57:10 -04:00
John Pauley
66f1ed09ff
use real sensor data in tests
2017-05-05 20:55:10 -04:00
deadprogram
b8572849a9
i2c: increase test coverage for INA3221Driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-05 09:45:21 +02:00
deadprogram
b71aed4d54
i2c: add INA3221 Voltage Monitor to README under supported i2c devices
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-05 09:27:08 +02:00
John Pauley
2697b2b42b
gofmt
2017-05-04 23:45:17 -04:00
John Pauley
698d1685f0
cleanup driver and sample, additional documentation
2017-05-04 22:51:58 -04:00
John Pauley
c917806479
Merge branch 'dev' of https://github.com/hybridgroup/gobot into dev
2017-05-03 18:17:42 -04:00
John Pauley
6b926ef037
INA3221 initial port to gobot
2017-05-03 18:07:33 -04:00
deadprogram
26b97e2217
gpio: avoid race condition on starting test
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 12:04:37 +02:00
deadprogram
1cf59fd2c0
aio: avoid race condition on starting test
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-03 10:53:40 +02:00
deadprogram
c9ec619219
aio: ensure that AnalogSensor event Data is always int
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-30 09:59:00 +02:00
deadprogram
e3ca19eaa3
gpio: avoid possible race condition in button test
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 17:19:32 +02:00
deadprogram
3aa0cf5b89
i2c: small refactoring and increase test coverage for bmp180
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 17:07:44 +02:00
deadprogram
acfdcc1f3a
i2c: increase ads1x15 test coverage
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 16:34:00 +02:00
deadprogram
86e15b4b71
i2c: add ads1115 to list of supported devices
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 16:13:29 +02:00
bezineb5
03f178e3a6
Fixed issue with Go 1.7
2017-04-27 09:23:41 -04:00
bezineb5
7eabd4e2e4
Fixed a bug with the ADS1015 reading. Updated example.
2017-04-27 09:10:03 -04:00
bezineb5
95c71a2efc
Added method to determine the gain easily
2017-04-27 09:01:43 -04:00
bezineb5
a950f60c78
Removed duplicate files
2017-04-27 09:01:43 -04:00
bezineb5
9ba655f87d
Merged both 1015 drivers into one!
2017-04-27 09:01:43 -04:00
bezineb5
9728cef5ed
Added comments
2017-04-27 09:01:43 -04:00
bezineb5
c09f8066d8
Added support for the ADS1015 and ADS1115 ADCs
2017-04-27 09:01:43 -04:00
bezineb5
02692c89dd
Added comments
2017-04-27 08:59:17 -04:00
bezineb5
1e266a33a9
Added support for the ADS1015 and ADS1115 ADCs
2017-04-27 08:59:17 -04:00
deadprogram
ce7b34d031
aio: correct order for test to avoid race
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-24 18:25:47 +02:00