Wu Jiang
aee34f1a02
Merge b02fcae87d
into d3d8c0c5c6
2017-05-08 01:30:54 +00:00
Luke Palmer
d3d8c0c5c6
Merge pull request #79 from fd0/rpi3-kernel-4.9
...
Correctly detect Raspberry Pi 3 on Kernel 4.9
2017-05-07 21:30:40 -04:00
Alexander Neumann
1e99d1ac2d
Correctly detect Raspberry Pi 3 on Kernel 4.9
...
Kernel 4.9 now correctly identifies the hardware for the Raspberry Pi 3
as "BCM2835", /proc/cpuinfo contains:
processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
[...]
Hardware : BCM2835
Revision : a02082
Serial : 00000000307c1569
2017-03-06 16:37:05 +01:00
Thorsten von Eicken
adc3d47305
Merge pull request #69 from kidoman/update
...
Add support for CHIP; merge piled-up PRs
2016-09-25 11:48:02 -07:00
Thorsten von Eicken
f256bd4715
rename update_contibutors.sh
2016-09-08 23:38:53 -07:00
Thorsten von Eicken
5b6fbf3be1
revert some gratuitous whitespace changes
2016-09-08 23:37:51 -07:00
Thorsten von Eicken
7790078c56
README update
2016-09-08 23:34:34 -07:00
Thorsten von Eicken
400ff1a279
fix travis
2016-09-08 23:32:02 -07:00
Thorsten von Eicken
905f4857d9
minor documentation addition
2016-09-08 23:28:20 -07:00
Thorsten von Eicken
b013125381
update documentation a bit
2016-09-08 22:50:29 -07:00
Thorsten von Eicken
94cc116a81
update contributors
2016-09-08 21:15:09 -07:00
Thorsten von Eicken
acf38b972d
Back out addition of rfm69 radio support 'cause it's not ready
2016-09-08 21:02:34 -07:00
Thorsten von Eicken
eac7d5af1b
Merge pull request #68 from tve/master
...
Add support for CHIP; merge piled-up PRs
2016-09-08 21:01:39 -07:00
Thorsten von Eicken
e19d72b27b
make fork ready for merge-back, try #3
2016-09-06 21:13:16 -07:00
Thorsten von Eicken
789e3f82b2
make fork ready for merge-back, try #2
2016-09-06 21:12:17 -07:00
Thorsten von Eicken
b6706df9a8
make fork ready for merge-back
2016-09-06 21:07:29 -07:00
Thorsten von Eicken
49e6cc504d
Merge pull request #4 from gotang/master
...
fix fatal error: concurrent map read and map write
2016-09-05 23:36:21 -07:00
Thorsten von Eicken
997876e74b
Initial support for rfm69 radio
2016-09-05 23:14:12 -07:00
Thorsten von Eicken
6cfa481f30
Support SPI minor devices >255 (PR #33 )
2016-09-05 23:13:14 -07:00
Thorsten von Eicken
56cb934dbf
Update README for CHIP support by TvE
2016-09-05 23:11:12 -07:00
Thorsten von Eicken
e16818f0aa
add support for NextThing CHIP, part 3
2016-08-27 00:35:21 -07:00
Thorsten von Eicken
4503849da9
Merge pull request #3 from gavincabbage/gavincabbage-readbytes
...
Gavincabbage readbytes
2016-08-27 00:34:45 -07:00
Thorsten von Eicken
e7d28415a8
Merge pull request #1 from wiless/master
...
Fix SPIController issue with missing fields
2016-08-27 00:32:08 -07:00
Thorsten von Eicken
fac1f1c518
Merge pull request #2 from wujiang/wujiang/println
...
Println doesn't accept formatting.
2016-08-27 00:31:59 -07:00
Thorsten von Eicken
091d6f5588
gpio: don't fail if pin is already exported
2016-08-26 23:02:41 -07:00
Thorsten von Eicken
938a071c1a
add minimal support for NextThing CHIP, part 2
2016-08-26 23:02:11 -07:00
Thorsten von Eicken
d9dd4b51a9
add minimal support for NextThing CHIP
2016-08-26 23:00:39 -07:00
gotang
6021814731
fix fatal error: concurrent map read and map write
2016-08-20 14:10:49 +08:00
wiless
c3462ff178
Merge branch 'master' of github.com:kidoman/embd
2016-04-22 07:02:11 +05:30
Wu Jiang
b02fcae87d
Give rpi some time to link digital pin property
...
It looks like Raspberry pi needs some time to get a digital pin
link properly after it is being exported.
Sample code to run:
```go
package main
import (
"fmt"
"github.com/kidoman/embd"
_ "github.com/kidoman/embd/host/rpi"
)
func main() {
defer embd.CloseGPIO()
fmt.Println(embd.SetDirection(10, embd.Out))
}
```
- before the change, the output is:
`open /sys/class/gpio/gpio10/direction: permission denied`
- after the change, the output is `<nil>`
Close #52
2016-01-21 15:42:27 -05:00
Wu Jiang
1b48067d77
Println doesn't accept formatting.
...
It looks like this is caused by confusion between `fmt.Println` and `fmt.Printf`.
2015-12-22 17:05:28 -05:00
Karan Misra
bfcd1345fe
Merge pull request #40 from wujiang/master
...
Fix typo
2015-12-22 23:31:09 +05:30
Wu Jiang
42be169804
Fix typo
...
TransferAndRecieveData --> TransferAndReceiveData
2015-12-22 12:54:33 -05:00
ssk
c1886eb5bf
Fixed SPIController issue with missing fields
2015-11-03 19:24:27 +05:30
Gavin Cabbage
b296368a05
removing failed Stat use
2015-10-10 23:58:24 -04:00
Gavin Cabbage
9d8285ca01
changed ReadBytes to get file size from stat
2015-10-10 23:23:40 -04:00
Gavin Cabbage
48c26358bd
doc: fixed mixed up comments
2015-08-30 09:48:43 -04:00
Gavin Cabbage
db5c9abb2a
ran gofmt
2015-08-29 00:57:25 -04:00
Gavin Cabbage
afa49bb2bc
build: fixed broken tests
2015-08-29 00:53:34 -04:00
Gavin Cabbage
2e6bd46354
i2c: added ReadBytes to I2CBus
2015-08-29 00:42:44 -04:00
Karan Misra
5065e49386
Merge pull request #28 from adeschamps/patch-1
...
Update README.md
2015-05-10 07:30:28 +05:30
adeschamps
5c00ad4d58
Update README.md
...
Fixed link for BH1750FVI documentation
2015-05-09 20:44:15 -04:00
Karan Misra
91dc0f5744
Merge pull request #19 from matthewdale/master
...
controller: add a lib for the HD44780 character display controller
2015-04-09 14:50:57 +05:30
Matthew Dale
3254f15093
controller: add more descriptive docs to the hd44780 exported variables
2015-04-09 00:52:27 -07:00
Karan Misra
2c29aaa16a
Merge pull request #25 from benschw/master
...
adding stepper motor example
2015-04-02 04:37:42 +05:30
Ben Schwartz
3574e65c8d
moving ticker.Stop to defer statement when creating ticker
2015-03-31 20:22:47 -05:00
Ben Schwartz
333194b96f
style updates, removing time.Close
2015-03-31 20:16:06 -05:00
Ben Schwartz
38897e416b
style updates, removing error checking from defer, and closing timer channel
2015-03-31 18:16:02 -05:00
Ben Schwartz
2e3e23a155
style updates and using ticker to time steps
2015-03-30 19:10:19 -05:00
Ben Schwartz
ae26e1d7f0
adding stepper motor example
2015-03-29 09:02:10 -05:00