Commit Graph

47 Commits

Author SHA1 Message Date
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 c622d8a41f edison: refactor auto-discovery of Edison board option
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 4162b1b402 edison: removed commented lines
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-06-15 14:04:08 +02:00
deadprogram 16bb422d14 edison: protect against pin map races
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-06 15:11:46 +02:00
deadprogram fb07036fda edison: implement DigitalPinnerProvider and PWMPinnerProvider interfaces
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 10:31:20 +02:00
deadprogram b250670ccb joule: export PWMPin adaptor methods
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-29 17:02:47 +02:00
deadprogram e530b3faf7 edison: export DigitalPin and PWMPin adaptor methods
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-28 12:52:37 +02:00
deadprogram 1b777bffa8 edison: refactoring to reduce code duplication
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 09:18:27 +02:00
deadprogram 00de91ecfb edison: corrections needed for sysfs.PWMPin
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-25 10:44:40 +02:00
deadprogram 4064a608d9 edison: use refactored sysfs interface
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 23:07:21 +02:00
deadprogram 93565733e0 intel-iot: update Edison and Joule to use sysfs.PWMPin
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-21 19:51:10 +02:00
deadprogram fe23d8ef90 edison: ensure that we initialize tristate if arduino breakout board
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 17:57:24 +02:00
deadprogram 8a50bb24e5 edison: auto-detect arduino breakout board, if no specific board is expected
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 17:33:18 +02:00
deadprogram f63d174d2e edison: move read/write functions within file for organization purposes
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 13:06:25 +02:00
deadprogram 781eacd40a edison: refactor read/write functions and increase test coverage
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-19 12:59:50 +02:00
deadprogram 26f9b2fac9 edison: remove pointless error checking code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 18:09:44 +02:00
deadprogram 09df88f142 edison: refactor digital pin creation process method
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-11 17:59:00 +02:00
deadprogram 51f6aba47c i2c: refactoring of the interface/implementations based on feedback and golinter
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-10 11:08:32 +01:00
Erik Agsjö 09142c55ee Refactored platforms to new I2C interfaces
Signed-off-by: Erik Agsjö <erik.agsjo@gmail.com>
2017-02-06 15:06:03 +01:00
deadprogram b1a23e7dce intel-iot: use new improved default namer to avoid API conflicts
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-02-02 16:13:39 +01:00
deadprogram 953c3254e7 core: use canonical import domain of gobot.io for all code
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-08 13:24:03 +01:00
deadprogram e489918173 core: update Intel Edison platform to simply return error
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00
devfubar bf4b74cb57 Updated the examples to show how to setup the sparkfun edison 2016-10-22 15:13:45 +01:00
deadprogram 311fea76ff edison: Experimental support for other breakout boards besides Arduino
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-10 19:29:50 +02:00
deadprogram 07f674955b core: Ensure that all drivers have default names
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-03 19:06:37 +02:00
deadprogram cbc40e455b core: Refactor Intel Edison platform for new Adaptor creation signature
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-09-25 20:55:17 +02:00
deadprogram 2fe2abfa5c [intel-iot] Move test interfaces into test files
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-25 21:14:43 +02:00
Adrian Zankich d5605838dd Scale analog values to 1024 2015-07-09 11:48:46 -07:00
Adrian Zankich 5b94e593ec Fix panic during finalize if no i2c device has been initialized 2015-07-09 10:31:43 -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
Adrian Zankich a7653dde56 go lint and documentation tweaks for the edison package 2015-01-03 04:40:00 -08:00
Adrian Zankich 560ebaf3e0 Enforce I2c interface 2014-11-29 12:14:36 -08:00
Adrian Zankich 89f3f53e09 Update platforms for new gpio interfaces 2014-11-29 11:51:16 -08:00
Adrian Zankich cca91da5ed Refactor edison to use new adaptor interface 2014-11-22 19:43:53 -08:00
Adrian Zankich 586507a489 Update Adaptor and Driver interface to use []error 2014-11-19 23:21:35 -08:00
Adrian Zankich 0541eee697 Update edison package for new i2c interface 2014-11-19 17:41:34 -08:00
Adrian Zankich cd1a016b2b Update edison package for new gpio interface 2014-11-19 11:53:05 -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 a276082b97 Refactor edsion tests 2014-11-07 18:37:57 -08:00
Adrian Zankich cbc5546dbb Satisfy DirectPin interface 2014-11-05 18:45:58 -08:00
Adrian Zankich e888b78035 Add pwm and analog test coverage 2014-11-04 12:21:18 -08:00
Adrian Zankich 0e3d3cf326 Add digital io and i2c tests 2014-11-03 19:02:33 -08:00
Adrian Zankich 45c51400fc beaglebone now uses sysfs package 2014-10-30 15:26:31 -07:00
Adrian Zankich 08c74113fb Add label property to DigitalPin 2014-10-30 13:41:27 -07:00
Adrian Zankich 72bd6961e0 WIP switching linux sysfs io to shared package 2014-10-29 17:51:47 -07:00
Javier Cervantes de0efc2666 Adding godocs documentation to intel-iot package 2014-10-22 09:56:55 -05:00
Adrian Zankich 72aade7b3f Add Edison Support
Digital write works

Add PWMWrite

Add AnalogRead

Refactor edison adaptor

Enable more digital pins

Enable all digital pins

Add i2c support

Properly close i2c device

Restore proper examples

Add test stub

Add Edison README
2014-09-23 21:35:29 -07:00