deadprogram
9fc46368a4
i2c: add bme280 and bmp280 to list of supported drivers
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-01 13:51:36 +02:00
deadprogram
3d7bf12156
i2c: add test coverage for bme280
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-01 13:46:37 +02:00
deadprogram
e14bfb726f
i2c: add test coverage for bmp280
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-01 13:21:38 +02:00
deadprogram
821fbf272e
i2c: adds Altitude() function to BMP280/BME280
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-01 10:29:57 +02:00
deadprogram
671ead7705
i2c: add BME280, BMP280 and update SSD1306 in README
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:12:38 +02:00
deadprogram
bdb24109af
i2c: functional bmp180 temperature/pressure and bme280 humidity
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
c573ba99ac
Revert "Increased PWM frequency"
...
This reverts commit 899c70d6831bfd78e9e0acdd48548e30e9c464e2.
2017-03-31 23:01:10 +02:00
deadprogram
1b8a772400
i2c: BME280 readings coming in, still working on conversion functions
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
633abf0751
i2c: update bme280 example
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
4c573b43f4
i2c: add Humidity() to bme280 example
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
f523fc6447
i2c: bmp280/bme280 raw reading in place, just need the conversions
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
c9b992aaa5
i2c: add bmp280 driver, then encapsulate it with bme280 and add Humidity
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
8940824ff0
i2c: refactoring since the bme280 is not the same as the bmp180
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
56a67a6626
i2c: ensure bmp180 returns Temperature() error, if any
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
dsockwell
a772e835d9
Remove bad old bme280 driver
2017-03-31 23:01:10 +02:00
dsockwell
c34bbee3c7
Humidity compensation formula input, needs verification
2017-03-31 23:01:10 +02:00
deadprogram
a1ed7ad144
i2c: Placeholder method for doing humidity adjustment for BME280 support
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
deadprogram
fa2b6a3ea2
i2c: WIP on adding BME280 support
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-31 23:01:10 +02:00
dsockwell
2600e69694
Works fine for a while now
2017-03-31 23:01:10 +02:00
darryl sockwell
cd2ce2ff28
Some cleanup, bme280 driver works fine
2017-03-31 23:01:10 +02:00
Demo User
aaa7497ca1
Increased PWM frequency
2017-03-31 23:01:10 +02:00
Ron Evans
296e2c3549
Merge pull request #400 from llonchj/feature/i2c/ssd1306
...
Initial ssd1306 driver implementation
2017-03-31 20:46:21 +02:00
Jordi Llonch
6ea0383918
ssd1306: added example
...
Signed-off-by: Jordi Llonch <llonchj@gmail.com>
2017-03-31 17:33:52 +00:00
Jordi Llonch
a66cfb1580
SSD1306 Commands
...
Signed-off-by: Jordi Llonch <llonchj@gmail.com>
2017-03-31 15:55:33 +11:00
Jordi Llonch
e6aebcec48
Initial ssd1306 driver implementation
...
Signed-off-by: Jordi Llonch <llonchj@gmail.com>
2017-03-31 15:05:11 +11:00
Ron Evans
fc5f64f49d
Merge pull request #396 from maruel/fmt
...
Add crude travis check for gofmt; format all sources
2017-03-28 18:15:12 +02:00
Marc-Antoine Ruel
88addd428f
Add crude travis check for gofmt; format all sources
...
The check ensures no gofmt regression occurs. Formatting the code makes everyone happy.
2017-03-27 14:10:37 -04:00
Marc-Antoine Ruel
55eb298a9b
Significantly speed up travis and make runs
...
- Inline ci/travis.sh into .travis.yml
- Use two go test steps instead of once for speed up
- Drop the whitelist and use all the packages as listed from $(go list ./...).
This removes the need to do bookeeping in both .travis.yml and Makefile during
refactoring.
- Trimmed the Makefile significantly. Removed "go test -i" as while this is
extremely helpful when cross compiling, it doesn't help when compiling for the
host.
- Added deps as a phony target, made this step faster. I'm not sure of the
usefulness of this step though and would recommend to remove it.
- 'make examples' is currently broken so I didn't add it to .travis.yml.
I experimented a bit on travis with go test on another similar project, timings
for the go test step only:
- Using both -race and -coverprofile with the loop over $(go list ./...) took
190s
- Using -coverprofile alone with the loop over $(go list ./...) took 10~11s
- Using -race ./... took 5s
It means that using one after the other takes 16~17s while running with both
flags takes 190s. A 91% speedup. Add my previous commit that cut off the test
runtime by half, the total speed will be appreciable.
2017-03-25 07:31:26 -04:00
Ron Evans
1a3c52c2aa
Merge pull request #385 from erkkah/chip-pwm
...
Hardware PWM support for the C.H.I.P
2017-03-23 21:53:00 +01:00
Erik Agsjö
74da855ea7
Updated README
...
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-03-23 21:46:47 +01:00
deadprogram
678476b612
aio: additional test coverage for Analog Sensor
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-23 13:18:22 +01:00
deadprogram
518a563597
aio: additional test coverage for Grove Temperature Sensor
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-23 13:13:14 +01:00
Ron Evans
f3cc685666
Merge pull request #392 from b3b/dev
...
Fix neurosky example
2017-03-23 11:57:18 +01:00
b3b
2b2ef9bb5d
Update neurosky README
...
Signed-off-by: b3b <ash.b3b@gmail.com>
2017-03-23 12:56:07 +03:00
b3b
5eaabf18a7
Fix neurosky example
...
Signed-off-by: b3b <ash.b3b@gmail.com>
2017-03-23 12:27:13 +03:00
deadprogram
1e26f485d4
core: update version to 1.3.0 for release
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-22 18:40:47 +01:00
deadprogram
e319fd27f2
docs: update CHANGELOG for 1.3 release
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-22 18:39:29 +01:00
deadprogram
dae55b5dec
gpio: increase test coverage for motor driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:59:19 +01:00
deadprogram
4c7c57c211
gpio: increase test coverage for motor driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:49:39 +01:00
deadprogram
ba90bb1800
gpio: increase test coverage for buzzer driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:37:27 +01:00
deadprogram
d4d2c6ef34
gpio: increase test coverage for PIR and servo drivers
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:27:12 +01:00
deadprogram
224f08930a
gpio: increase test coverage for relay driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:15:54 +01:00
deadprogram
ccd03a1b19
gpio: increase test coverage for relay driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 12:14:38 +01:00
deadprogram
4ff1b0c83c
gpio: increase test coverage for buzzer driver
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 11:59:38 +01:00
deadprogram
2d541ca238
gpio: increase test coverage for button, buzzer, direct pin, led, motor, and rgb led drivers
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 11:55:46 +01:00
deadprogram
2314d96eea
gpio: increase test coverage for buzzer and relay drivers
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 11:38:18 +01:00
deadprogram
f2121b3e03
core: remove unneeded error handling code that cannot be reached due to previous error handling.
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 11:21:00 +01:00
deadprogram
203444b3f3
i2c: minor adjustments to remove metalinter warnings
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-21 09:28:46 +01:00
deadprogram
ca3a9bdbda
i2c: test coverage for Close()
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-20 18:21:12 +01:00
deadprogram
647b3e3ba7
microbit: add CI build exclusion directives to new Microbit examples
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-03-20 12:31:23 +01:00