Mark Kuo
5ca29d0ba9
raspi: export PiBlasterPeriod in Adaptor
...
By setting PiBlasterPeriod to a raspi.Adaptor, the PWM pin will now
reflect the correct duty cycle to /dev/pi-blaster.
Signed-off-by: Mark Kuo <starryalley@gmail.com>
2018-08-16 21:50:13 +10:00
Ron Evans
9d8a577fb2
spi: complete refactoring to spi.Connection
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-16 15:06:17 +02:00
Ron Evans
25930107fd
spi: add optional params such as bus/chip to all current drivers
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Ron Evans
7637d90440
spi: switch to using periph.io for SPI interfaces
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-04-12 12:25:39 +02:00
Ron Evans
7ca9db598f
docs: update copyright date to 2018
...
Signed-off-by: Ron Evans <ron@hybridgroup.com>
2018-02-14 08:24:39 +01:00
Herbert Mühlburger
5ee056932a
Refactor TestAdaptorDigitalPinConcurrency test
2017-12-21 22:29:11 +01:00
deadprogram
6b960a08f8
raspi: extract shared SPI init code into spi package
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-12-13 13:17:12 +01:00
Ulises Flynn
d362e47874
Remove address from spi code
2017-09-12 00:51:01 -06:00
Ulises Flynn
94f5ded2d6
First cut of the GoPiGo3 driver, lacking grove peripherals.
2017-08-24 23:38:26 -06:00
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
wootsaejao
a321e71e54
raspi: correct readme
...
Signed-off-by: wootsaejao <wootsaejao@gmail.com>
2017-05-07 14:23:00 +07:00
Michele Della Torre
82ca627857
ran go fmt
2017-05-05 14:51:33 +02:00
Michele Della Torre
b52c9b2b1b
Fixed raspi adaptor race conditions
2017-05-05 13:48:47 +02:00
deadprogram
ac74498342
raspi: increase test coverage
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 10:41:24 +02:00
deadprogram
5d157eb2bd
raspi: implement DigitalPinnerProvider and PWMPinnerProvider interfaces
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 09:24:34 +02:00
deadprogram
06ba193e75
raspi: add comments and rearrange code
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 08:51:40 +02:00
deadprogram
f13fb15ebb
raspi: remove unused code
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 08:47:58 +02:00
deadprogram
efb9f7647d
raspi: add implementation for PWMPinner interface that wraps pi blaster
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-05-01 08:37:14 +02:00
deadprogram
bc666a3ece
raspi: export DigitalPin adaptor methods
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-29 10:43:31 +02:00
deadprogram
9979c8193a
raspi: increase test coverage
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-27 17:49:21 +02:00
deadprogram
a99912be4d
docs: improve explanations for scp/ssh workflow on SoC boards to README
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 15:42:06 +02:00
deadprogram
d27d3e50ec
docs: add explanations for scp/ssh workflow on SoC boards to README
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 15:39:23 +02:00
deadprogram
95a433a84a
raspi: address #391 by providing more details about normal development workflow
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-12 12:47:37 +02:00
deadprogram
b81c9ec27a
raspi: increase test coverage
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-10 04:58:18 +02:00
deadprogram
f261a166f9
raspi: increase test coverage
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-06 11:14:31 +02:00
deadprogram
d405b7a5c7
test: remove test code no longer being called
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-04-02 15:57:23 +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
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
8f13e57839
raspi: correct README build insttructions with missing 'go build' command
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-06 14:53:55 +01:00
deadprogram
885c829a43
license: update license year to include 2017
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2017-01-02 22:25:17 +01:00
deadprogram
0339118fd7
docs: correct Raspberry Pi README link
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-21 10:55:29 +01:00
deadprogram
183f25a832
docs: update GOARM values as needed for cross-compilation
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 18:22:24 +01:00
deadprogram
070edf0fc1
docs: update Raspberry Pi to latest info
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-20 12:18:15 +01:00
deadprogram
20659c0a96
docs: update Raspi to latest info
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-19 16:45:03 +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
e4f0ef72c8
raspi: Add missing godocs and small refactors for platform
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-12-01 15:08:01 +01:00
deadprogram
16e4184f69
core: update Raspi platform to simply return error
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:52 +01:00
deadprogram
08874e4e21
core: no longer return slices of errors, instead use multierror
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-11-07 21:29:51 +01:00
deadprogram
900bf1d9ea
docs: remove Master unless needed for less code
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-18 21:37:10 +02:00
deadprogram
458c750f33
core: refactor/rename internal name of Master type
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-15 20:02:54 +02:00
deadprogram
81329858ce
core: Refactor Raspi platform for new Adaptor creation signature
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-10-01 18:09:04 +02: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
deadprogram
6097ffefc5
tests: complete move of test interfaces into the test files where they belong
...
Signed-off-by: deadprogram <ron@hybridgroup.com>
2016-08-27 11:56:01 +02:00
Damian Gryski
a8ea32ce56
Fix misspellings
2016-07-13 10:44:47 -06:00
gmarik
e494b9fb99
Refactor to use `gobottest` test helpers
2016-02-22 00:33:58 -05:00
Ethan Young
dc183d7a78
Correct the release command sent to pi-blaster.
2016-02-17 12:25:14 -08: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
8842b2ea23
Update README.md
2015-06-30 16:33:13 -07:00
Adrian Zankich
93a4c45574
Add raspi pwm pi-blaster support
2015-06-30 16:31:20 -07:00