Ulises Flynn
30a8aa211b
Code cleanup, improve go report card
2016-03-07 23:51:45 -07: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
Adrian Zankich
fd24e6a9fe
Update docs
2014-10-28 14:52:59 -07:00
Javier Cervantes
76a81eaef7
Adding godocs documentation to i2c package
2014-10-22 09:56:21 -05:00
Rafael Magana
5148562dee
Tests for I2C
2014-09-18 18:11:10 -05:00
Adrian Zankich
84363c6699
Rename Expect to Assert and add Refute function
2014-07-17 11:41:47 -07:00
Adrian Zankich
1700c1276c
Merge branch 'master' into dev
2014-07-10 11:54:48 -07:00
Adrian Zankich
d3f22138f0
Clean up drivers
2014-07-09 18:32:27 -07:00
Adrian Zankich
7eec236b07
Update examples
2014-07-08 18:36:14 -07:00
Adrian Zankich
cdb563ab02
Update i2c package
2014-07-07 16:59:19 -07:00
Jacob Hayes
f0d822a0a1
Fix platform paths
2014-07-06 14:17:10 -05:00
Adrian Zankich
f77689abe3
The Driver struct now has an Adaptor field
2014-06-15 17:22:50 -07:00
Adrian Zankich
aed6b39bb6
Update test formatting
2014-06-13 16:01:39 -07:00
Adrian Zankich
73352d1193
Update i2c tests
2014-06-13 12:48:00 -07:00
Adrian Zankich
f1dbe8b1e2
Update platforms for new device command syntax
2014-06-11 18:59:30 -07:00