Stian Eikeland
|
4f808926bf
|
Merge pull request #22 from Drahoslav7/feature/edge-event
Edge detection, closes #21
|
2018-06-07 00:40:09 +02:00 |
|
Drahoslav
|
3084a4df91
|
Improve doc of edge detection
|
2018-06-06 17:54:16 +02:00 |
|
Drahoslav
|
250b0836f8
|
Improve event unit test
|
2018-06-06 17:51:04 +02:00 |
|
Drahoslav
|
4ae1cfd964
|
Minor change in edge event detection api
Also other minor changes and gofmt
|
2018-06-06 13:34:52 +02:00 |
|
Drahoslav
|
9e67063fd5
|
Edge event example
|
2018-06-04 17:14:12 +02:00 |
|
Drahoslav
|
22c39c30df
|
Fix falling edge detection
|
2018-06-04 16:32:46 +02:00 |
|
Drahoslav
|
46ba7f5934
|
Test edge events
|
2018-06-04 16:29:39 +02:00 |
|
Drahoslav
|
2ec057fd07
|
Impelement edge event detection
|
2018-06-04 14:46:15 +02:00 |
|
Stian Eikeland
|
f6236e5866
|
Merge pull request #17 from Drahoslav7/fix-close-func
Add missing unmap to Close
|
2018-01-15 17:23:40 +01:00 |
|
Drahoslav
|
544f9accf1
|
Add missing unmap to Close
|
2018-01-12 15:55:26 +01:00 |
|
Stian Eikeland
|
636800e482
|
Merge pull request #16 from Drahoslav7/improve-pwm-example
Improve pwm example
|
2018-01-12 15:44:00 +01:00 |
|
Drahoslav
|
1272e9a954
|
Improve pwm example
|
2018-01-12 15:35:22 +01:00 |
|
Stian Eikeland
|
15b37924a8
|
Add link to godoc.org in readme
|
2018-01-12 13:20:14 +01:00 |
|
Stian Eikeland
|
a6b0dffd47
|
PWM example by @Drahoslav7c
|
2018-01-12 01:16:40 +01:00 |
|
Stian Eikeland
|
4e5f1593d7
|
Update readme (PWM / Clock)
|
2018-01-12 01:13:42 +01:00 |
|
Stian Eikeland
|
ca7ded7fea
|
PWM and Clock modes from @Drahoslav7
Implement clock and pwm modes
|
2018-01-12 01:05:43 +01:00 |
|
Drahoslav Bednář
|
46ab34d51a
|
Merge pull request #1 from Drahoslav7/pwm
Pwm
|
2017-11-20 12:41:54 +01:00 |
|
Drahoslav
|
ec49196c8c
|
Update doc overview
|
2017-11-20 12:14:52 +01:00 |
|
Drahoslav
|
a1c4bb376e
|
Improve doc
|
2017-11-20 10:26:42 +01:00 |
|
Drahoslav
|
b1c90c6087
|
Fix pwmMem and some pwm Regs
|
2017-11-20 09:29:43 +01:00 |
|
Drahoslav
|
7445bb69a5
|
Implement pwm methods
|
2017-11-19 17:23:48 +01:00 |
|
Drahoslav
|
cc678981b0
|
Mmap pwm memmory
|
2017-11-17 09:37:18 +01:00 |
|
Drahoslav
|
4a31f2cfa6
|
Add Pwm mode for pins
|
2017-11-17 03:03:19 +01:00 |
|
Drahoslav
|
c0dfd7a7e3
|
fixup! Use mash filter if it makes sense
|
2017-11-16 13:52:24 +01:00 |
|
Drahoslav
|
7e21224c69
|
Do not change mash while busy
|
2017-11-16 01:47:08 +01:00 |
|
Drahoslav
|
ec703e92e8
|
Use /mem/dev primarily - it is needed for clock settings to work
|
2017-11-16 01:28:34 +01:00 |
|
Drahoslav
|
95bb91625f
|
Use mash filter if it makes sense
|
2017-11-16 01:14:01 +01:00 |
|
Drahoslav
|
fd0764b709
|
Fix bad indexing of clk rigisters
|
2017-11-16 01:12:13 +01:00 |
|
Drahoslav Bednář
|
8208ca5f0d
|
fix memMap base attr
How could it even work before?
|
2017-11-15 17:48:18 +01:00 |
|
Drahoslav
|
0122f1902d
|
Fix divf computation
|
2017-11-15 11:26:49 +01:00 |
|
Drahoslav
|
9b13a0969b
|
Change clock public api
|
2017-11-14 23:16:39 +01:00 |
|
Drahoslav
|
cdcd97f287
|
go fmt
|
2017-11-14 22:33:04 +01:00 |
|
Drahoslav
|
b604d03178
|
Minor fixes
|
2017-11-14 22:25:26 +01:00 |
|
Drahoslav
|
b7b1bd8b81
|
Do minor renaming
|
2017-11-14 22:16:15 +01:00 |
|
Drahoslav
|
aae3fc6504
|
Implement setClock - using clock manager registers
|
2017-11-14 22:04:03 +01:00 |
|
Drahoslav
|
12feac8555
|
Add pin mode Clock
|
2017-11-14 17:52:05 +01:00 |
|
Drahoslav
|
3e0491354c
|
Do minor refactoring
|
2017-11-14 17:06:00 +01:00 |
|
Stian Eikeland
|
896db2ee1c
|
Described how to use /dev/gpiomem
|
2015-12-08 01:50:14 +01:00 |
|
Stian Eikeland
|
5e579e38a5
|
Merge pull request #6 from dasfoo/master
Use /dev/gpiomem (with offset=0), if available
|
2015-12-08 01:37:23 +01:00 |
|
Artem Sheremet
|
f2af793fd7
|
Use /dev/gpiomem (with offset=0), if available
/dev/gpiomem is a map of GPIO-related memory region.
No longer need root for user GPIO access, but without relaxing
permissions on /dev/mem.
See https://github.com/raspberrypi/linux/pull/1112/files
|
2015-12-07 13:31:10 +01:00 |
|
Stian Eikeland
|
ab68f61e91
|
Updated readme with release info
|
2015-03-08 14:34:25 +01:00 |
|
Stian Eikeland
|
d272d491cc
|
Merge pull request #4 from akramer/master
Support the new IO port range for raspberry pi 2.
|
2015-03-08 14:31:26 +01:00 |
|
Adam Kramer
|
07b12a1539
|
Removing a debugging statement
|
2015-03-07 19:01:39 -08:00 |
|
Adam Kramer
|
10a90652fd
|
Fixed the comment for getGPIOBase()
|
2015-03-07 18:54:44 -08:00 |
|
Adam Kramer
|
733fee47fc
|
Fixing a bug (oops)
|
2015-03-07 18:53:00 -08:00 |
|
Adam Kramer
|
cf3a8b7ed1
|
Using a better method of base address detection.
|
2015-03-07 18:45:00 -08:00 |
|
Adam Kramer
|
acd8baadbf
|
Support the new IO port range for raspberry pi 2.
|
2015-03-07 17:57:06 -08:00 |
|
Stian Eikeland
|
e7909f46c9
|
update blog url in readme.md
|
2014-08-25 12:38:50 +02:00 |
|
Stian Eikeland
|
7c94922b99
|
Merge pull request #3 from kbudde/mutex
defer unlock mutex, close returns munmap error
|
2014-08-24 12:39:38 +02:00 |
|
Kris Budde
|
8492756a0e
|
Always unlock mutex. Just to be sure.
|
2014-08-23 14:43:15 +02:00 |
|