Commit Graph

256 Commits

Author SHA1 Message Date
Dhruva Sagar 24de9c0fb1 Improve Stepper Driver
* Ensure StepperDriver embeds gobot.Commander to allow for command
  driven workflow
* Add a few core commands available out of the box for control via
  command workflow
2018-05-28 23:14:09 +05:30
Daniel Esteban bcf63b08b3 Initial support for MAX7219 (gpio) led driver 2018-05-05 19:18:35 +02:00
Ron Evans e9529e4c72 spi: remove unneeded type and cleanup GoDocs
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-16 13:29:35 +02:00
Ron Evans 06d26b4102 spi: remove unneeded code as suggested by @maruel
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-16 09:56:17 +02:00
Ron Evans f0b524efbf spi: update README to mention new periph.io implementation.
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:51:39 +02:00
Ron Evans 25930107fd spi: add optional params such as bus/chip to all current drivers
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Ron Evans 7637d90440 spi: switch to using periph.io for SPI interfaces
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Daniel Esteban d84c724e5c typo fix 2018-04-12 12:25:39 +02:00
Ulises Flynn 447175629b added spi ssd1306 2018-04-12 12:25:39 +02:00
Daniel Esteban 8e6391105d Added initial support for AIP1640 led driver, used in Wemos D1 mini's
matrix LED shield
2018-04-12 12:25:39 +02:00
Ron Evans c4acb468af docs: add references to new drivers for ADXL345, BH1750, and TM1638.
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 09:40:39 +01:00
Ron Evans 7ca9db598f docs: update copyright date to 2018
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 08:24:39 +01:00
Daniel Esteban f3150c7ed9 Initial support for TM1638 modules 2018-02-11 19:34:47 +01:00
Ron Evans d5e7393912
Merge pull request #481 from conejoninja/adxl345
Initial support for digital accelerometer ADXL345
2018-01-29 14:17:02 +01:00
Daniel Esteban dd53b2b837 added documentation to private structs
change filenames to lower case
2018-01-27 20:17:40 +01:00
Daniel Esteban ca043ef77b added TestADXL345DriverSetRange 2018-01-20 17:38:21 +01:00
Daniel Esteban be48fe5edb added some tests for ADXL345 2018-01-19 21:57:47 +01:00
Daniel Esteban 6ad9dfcf34 initial support for accel ADXL345 2018-01-16 10:11:50 +01:00
Daniel Esteban d4880f808f added comments for godoc
added bh1750 to readme
2018-01-12 16:26:21 +01:00
Daniel Esteban c2e6910c82 Added basic driver for BH1750 (light sensor), board GY-302 2018-01-11 20:56:23 +01:00
deadprogram c10828baf9 spi: Add MCP3202, MCP3204, MCP3208, and MCP3304 drivers to README
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 20:10:22 +01:00
deadprogram b0160105ca spi: Add MCP3202, MCP3204, MCP3208, and MCP3304 drivers
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 20:08:31 +01:00
deadprogram 6f2921ffb6 spi: add MCP3002 A/D converter
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 16:40:44 +01:00
deadprogram 41a04f76d0 spi: correct support for MCP3004/MCP3008 A/D converters
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 15:40:38 +01:00
deadprogram 55d3655d29 spi: add support for MCP3008 A/D converter
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 15:20:20 +01:00
deadprogram 2e7e59b1ce spi: add support for MCP3004 A/D converter
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 15:20:07 +01:00
deadprogram 71ca8ed02f apa102: adding initial support for APA102 LEDs, thanks to code sample from @rakyll
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 14:12:30 +01:00
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