1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-11 19:29:20 +08:00

71 Commits

Author SHA1 Message Date
Josh Finken
6a415b5096 Merge branch 'dev' of github.com:jfinken/gobot into dev 2016-08-30 10:08:13 -06:00
deadprogram
fe057ba6bf misc: update all LICENSE files for current year
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-27 13:12:47 +02:00
Josh Finken
995cd7deb5 Adding support for the Adafruit Servo/PWM HAT. This required a slight refactor to the existing Motor HAT code to support multiple I2C addresses. 2016-08-25 20:51:00 -06:00
Josh Finken
5a1707340f More explicit initialization in Start, slight refactor, and separate DC Motor and Stepper Motor examples. 2016-08-24 22:25:41 -06:00
Josh Finken
09e3cd4f10 Initial significant changes to the Adafruit Motor HAT driver to support Stepper Motors. 2016-08-22 21:56:19 -06:00
Josh Finken
0c8be58d7e File rename, adding a test file for the Adafruit driver, and slight func naming changes. 2016-08-16 21:36:12 -06:00
Josh Finken
14eccad598 Adding two API funcs for the Adafruit driver with respect to the DC Motor, fleshing out the raspi_adafruit example with a runner function. 2016-08-15 23:10:35 -06:00
Josh Finken
c3f142f4d7 Initial commit of driver code, with accompanying example, for the Adafruit_MotorHat. 2016-08-01 19:08:54 -06:00
Ron Evans
913e9371a7 Merge pull request #290 from dgryski/gosimple
Code cleanups suggested by gosimple
2016-07-15 09:03:02 -06:00
Damian Gryski
a8ea32ce56 Fix misspellings 2016-07-13 10:44:47 -06:00
Damian Gryski
977c878a8b Code cleanups suggested by gosimple 2016-07-13 09:32:22 -06:00
deadprogram
c78be7d51f Resolve merge conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-07-13 08:30:45 -06:00
Ulises Flynn
30a8aa211b Code cleanup, improve go report card 2016-03-07 23:51:45 -07:00
gmarik
8ceffc25ba Refactor to use gobottest test helpers 2016-02-24 22:16:05 -08:00
gmarik
e494b9fb99 Refactor to use gobottest test helpers 2016-02-22 00:33:58 -05:00
deadprogram
d0a5893f27 Fix #236 & fix #239 by correcting initialization and temperature conversion for MPU-6050 2016-02-17 12:25:15 -08:00
Hrishikesh Tapaswi
42475e479d Get I2C functionality before doing SMBus block I/O
In the sysfs i2cDevice implementation, use an ioctl to get the adapter
functionality mask. Prefer SMBus block I/O but if it's not available,
perform read/write calls directly on the file descriptor.

Improve Wiichuck error handling. Add a 1 ms delay between I/O operations
to the Wiichuck; this dramatically improves reliability.

Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:15 -08:00
Ulises Flynn
43d4271b45 Add MCP23017 write and read functionality to GPIO
Signed-off-by: Ulises Flynn <uflynn@hotmail.com>
2016-02-17 12:25:14 -08:00
deadprogram
8b9216be7e Update README with full list of current drivers/platforms 2015-10-22 17:37:31 -07:00
Matt Aimonetti
ade406c7dd more custom characters 2015-10-11 01:24:43 -07:00
Matt Aimonetti
80f64239e9 let's not forget ó, very common character in Spanish 2015-10-11 01:05:29 -07:00
Matt Aimonetti
601e4916a2 let devs set and use custom LCD characters
I noticed that the grove LCD screen only has an ASCII/Japanese font table. I need to be able to display accented characters
looking at the data sheet the screen supports up to 8 custom CGRAM characters. I added an API to set those CGRAM characters
as well as a map of common latin 1 characters + emoticons
2015-10-11 00:49:57 -07:00
Adrian Zankich
88f7a68c46 Update jhd1313m1 Scroll and grove lcd example 2015-07-15 17:57:22 -07:00
Adrian Zankich
a8fa365990 Make travis happy 2015-07-15 16:46:40 -07:00
Adrian Zankich
c3bc235218 Update lidar implementation 2015-07-12 15:22:23 -07:00
Matt Aimonetti
6cef217dff fix the bad merge 2015-07-11 23:03:01 -07:00
Matt Aimonetti
6190defcdc merge toxeus' multiline fix 2015-07-11 22:56:45 -07:00
Matt Aimonetti
ab624962eb improved the waits and added a scroll method (which doesn't seem to work :( ) 2015-07-11 22:50:55 -07:00
Matt Aimonetti
41ab911179 copy of the C++ constructor since I noticed some weird setup issues
https://github.com/intel-iot-devkit/upm/blob/master/src/lcd/jhd1313m1.cxx#L34
The main artifact I was noticing was a cursor always being displayed after my text. This version fixes this specific issue.
2015-07-11 22:37:06 -07:00
Matt Aimonetti
b318d68a5b Adding 2ms after Clear() and Home() to avoid issues + refactoring
The refactoring focuses on 2 aspects:
* go lint conventions with documentation
* avoid naked returns and don't instantiate returned values in the signature unless really necessary
2015-07-11 20:43:02 -07:00
Filip Gospodinov
cc9893d293 jhd1313m1_driver: fix '\n' processing 2015-07-11 00:08:04 +02:00
Adrian Zankich
d18d6cd73a Add missing grove driver alias 2015-07-10 08:56:39 -07:00
deadprogram
36777f681d Corrected dependency install instructions for all current platforms 2015-07-10 08:02:18 -07:00
Adrian Zankich
761dae973f Add MMA7660Driver 2015-07-08 10:54:37 -07:00
Adrian Zankich
81bc4d2374 Add JHD1313M1 driver 2015-07-03 19:05:11 -07:00
Adrian Zankich
fe6df92974 Refactor sysfs I2C implementation and add Address parameter to I2C interface functions 2015-07-03 18:57:29 -07:00
deadprogram
65fce5a4b9 Almost done on LIDAR-Lite support
Wait for 20ms between operations

All ints all the time, unless a very good reason
2015-02-17 12:50:28 -08:00
Adrian Zankich
386042575f Increase i2c test coverage 2014-12-22 13:36:52 -08:00
Adrian Zankich
52e3ffc735 Rename test helpers so they don't impact coverage 2014-12-18 14:07:48 -08:00
deadprogram
01d0178480 Add missing device descriptions to README 2014-12-13 18:50:09 -08:00
Adrian Zankich
69a93ad088 Refactor i2c driver interfaces 2014-11-29 12:10:23 -08:00
Adrian Zankich
7050410217 Add optional interval parameter for drivers which poll at an interval 2014-11-28 18:37:03 -08:00
Adrian Zankich
1f2c7fd6c7 Refactor i2c to use new driver interface 2014-11-22 19:38:39 -08:00
Adrian Zankich
586507a489 Update Adaptor and Driver interface to use []error 2014-11-19 23:21:35 -08:00
Adrian Zankich
82500837a7 Add error to i2c interface 2014-11-19 16:56:48 -08:00
Adrian Zankich
abc1f0b201 Update platforms to support the new Driver and Adaptor interfaces 2014-11-16 12:25:48 -08:00
Adrian Zankich
ea27332430 Merge pull request #145 from hybridgroup/mpu6050
Mpu6050
2014-11-10 18:30:54 -08:00
deadprogram
b4ff16d14b Support for MPU6050
- Add initial support for MPU6050
- Add real simple test impl
- Add proper formatting
- This pumps out data
2014-11-10 17:05:14 -08:00
deadprogram
9d864d4f1d WIP on MPL115A2
More WIP on mpl115a2
Even more WIP
This pumps out data
2014-11-10 16:53:49 -08:00
Adrian Zankich
fd3e7866a9 Fix more inconsistent tests 2014-10-28 16:22:05 -07:00