Ron Evans
d7b2a33dc0
Merge pull request #264 from stengaard/stengaard/sysfs-seek
...
Use Seek to speed up read/write in sysfs
2016-02-19 08:11:54 -08:00
Brian Stengaard
f839367fcf
Pin 229 value left out of test fixture on edison
2016-02-19 09:51:58 +01:00
Brian Stengaard
642ab409c1
Use Seek to speed up read/write in sysfs
...
This maintains `direction` and `value` `File`s for each DigitalPin
implementation. Instead of Open/Read/Close we now only do Seek/Read,
this speeds up Read/Write operations a bit.
A silly benchmark on the mock FS gives:
benchmark old ns/op new ns/op delta
BenchmarkDigitalRead-8 647 7.36 -98.86%
benchmark old allocs new allocs delta
BenchmarkDigitalRead-8 5 0 -100.00%
benchmark old bytes new bytes delta
BenchmarkDigitalRead-8 96 0 -100.00%
2016-02-18 21:18:45 +01:00
Ron Evans
9e656c5971
Merge pull request #263 from ryanhatfield/dev
...
Fix mavlink link typo
2016-02-18 07:13:56 -08:00
Ryan Hatfield
89331cbe4d
Fix mavlink link typo
...
Signed-off-by: Ryan Hatfield <ryan@ryan.bio>
2016-02-18 08:29:00 -06:00
deadprogram
676c963f14
Update to 0.11.1
2016-02-17 17:25:15 -08:00
deadprogram
a10756c221
Update version to v.0.11.1
2016-02-17 17:23:31 -08:00
deadprogram
b61d713a0d
Need to explicitly set content type to text/html for Robeaux main page
2016-02-17 16:19:11 -08:00
deadprogram
34e5f0253c
Update version to 0.11
2016-02-17 12:28:00 -08:00
deadprogram
89da45f493
Update version to 0.11
2016-02-17 12:26:16 -08:00
deadprogram
d0a5893f27
Fix #236 & fix #239 by correcting initialization and temperature conversion for MPU-6050
2016-02-17 12:25:15 -08:00
deadprogram
b06f8bae38
Revert "Increase button delay hack for test suite"
...
This reverts commit fe221a9633
.
2016-02-17 12:25:15 -08:00
deadprogram
87584e9765
Increase button delay hack for test suite
2016-02-17 12:25:15 -08:00
deadprogram
a5bc3a66b4
Failure is no longer an option for Go 1.6
2016-02-17 12:25:15 -08:00
deadprogram
5ef119c1e6
Better I2C device descriptions in README
2016-02-17 12:25:15 -08:00
Andrew Stewart
111a6df996
Add support for 'hand' and 'gesture' Leap Motion events
2016-02-17 12:25:15 -08:00
deadprogram
f8f6dfeb0b
Use newer naming system for C.H.I.P. pins
2016-02-17 12:25:15 -08:00
deadprogram
7c355b8dcd
Update MQTT README for latest info
2016-02-17 12:25:15 -08:00
deadprogram
3cf667d450
Increase test delay hack for button tests
2016-02-17 12:25:15 -08:00
deadprogram
8273643082
Run builds against the latest major releases
2016-02-17 12:25:15 -08:00
deadprogram
a943029651
Golang 1.3.3 still works, adding back to build
2016-02-17 12:25:15 -08:00
deadprogram
920c38482f
Default the new MQTT 'AutoReconnect' to false
2016-02-17 12:25:15 -08:00
deadprogram
ac39cfb39b
Update targeted golang versions to include 1.6, and to begin deprecating 1.3.3 and earlier
2016-02-17 12:25:15 -08:00
Hrishikesh Tapaswi
ed4522248f
Name C.H.I.P. pins according to printed names
...
It's more convenient to refer to a pin by the name that's printed right
on the header itself instead of having to count the pin number.
Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:15 -08:00
deadprogram
2baa2dcf89
Add MMA7660 accelerometer example for C.H.I.P.
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
deadprogram
11371f56a7
Revert "Remove coveralls badge"
...
This reverts commit 5c0745a93d
.
2016-02-17 12:25:15 -08:00
deadprogram
c40c44b2a9
Revert "Trying to remove coveralls based code coverage"
...
This reverts commit 5d0c684b5d
.
2016-02-17 12:25:14 -08:00
deadprogram
237ff49dc9
Remove coveralls badge
2016-02-17 12:25:14 -08:00
deadprogram
d8cd98e4d7
Trying to remove coveralls based code coverage
2016-02-17 12:25:14 -08:00
deadprogram
dc0725a9a3
What about -v
2016-02-17 12:25:14 -08:00
deadprogram
d25e319166
Why do this twice?
2016-02-17 12:25:14 -08:00
deadprogram
f31e78cb8c
covermode=count
2016-02-17 12:25:14 -08:00
deadprogram
f80aa22805
Revert "No coveralls repo token for provate repos?"
...
This reverts commit 047d1b3164
.
2016-02-17 12:25:14 -08:00
deadprogram
0691a9732a
No coveralls repo token for provate repos?
2016-02-17 12:25:14 -08:00
deadprogram
ec16e0fa3e
Update coveralls badge in README
2016-02-17 12:25:14 -08:00
deadprogram
23b8f41c89
Trying conditional build before_install
2016-02-17 12:25:14 -08:00
deadprogram
bafe51e45d
Trying conditional build
2016-02-17 12:25:14 -08:00
deadprogram
9b00a2ac21
Adds MCP23017 i2c device to README
2016-02-17 12:25:14 -08:00
deadprogram
bc50d792fb
Adds additional examples for C.H.I.P.
2016-02-17 12:25:14 -08:00
deadprogram
13d65218f5
Add C.H.I.P. to supported platforms
2016-02-17 12:25:14 -08:00
Hrishikesh Tapaswi
8f79c322e0
Add support for the CHIP platform
...
This includes support for GPIO and I2C interfaces.
Signed-off-by: Hrishikesh Tapaswi <hrishikesh195@yahoo.com>
2016-02-17 12:25:14 -08:00
Anton Koldaev
a3bf957100
Update API example
...
New behavior was introduced in 5c9d44f391
2016-02-17 12:25:14 -08:00
Ethan Young
dc183d7a78
Correct the release command sent to pi-blaster.
2016-02-17 12:25:14 -08:00
Cathal Garvey
01bb538959
The take-off-before-event-handling bug again
2016-02-17 12:25:14 -08:00
Cathal Garvey
79fad6bae4
Fixed event race condition
...
If this is anything like the Bebop, then taking off immediately fires the "flying" event, but these events aren't buffered so attaching an event handler afterwards achieves nothing. When I ran the same code for the Bebop (as suggested on the site) it never landed, prompting an emergency connect-with-phone-hammer-buttons scramble. Swapping the event registration with the takeoff method call fixed the problem immediately.
2016-02-17 12:25:14 -08:00
deadprogram
cee08c8e35
Correct Intel Edison docs location thanks to @seanmarcia
2016-02-17 12:25:14 -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
e5707501d0
Fix #236 & fix #239 by correcting initialization and temperature conversion for MPU-6050
2016-02-16 17:55:07 -08:00
deadprogram
2a80610b04
Revert "Increase button delay hack for test suite"
...
This reverts commit fe221a9633
.
2016-02-16 16:48:25 -08:00