Commit Graph

113 Commits

Author SHA1 Message Date
Drahoslav Bednář
d8d85b3536
Update README.md 2021-12-02 15:19:45 +01:00
Drahoslav Bednář
939e5aba54
Merge pull request #79 from youngkin/master
Add support for PWM balanced mode
2021-12-02 15:14:24 +01:00
youngkin
c34d95b74c add an example to test PWM balanced mode 2021-12-01 22:14:59 +00:00
youngkin
915fc229cf address code review comments 2021-12-01 21:22:34 +00:00
Drahoslav Bednář
ab13b61116
Merge pull request #80 from tmsmr/master
Fix incorrect core_freq for Raspberry Pi 4, Raspberry Pi 400 and CM4
2021-12-01 19:11:01 +01:00
Thomas Maier
be3df1c40e Fix incorrect core_freq for Raspberry Pi 4, Raspberry Pi 400 and CM4
Compare https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/config_txt/overclocking.adoc. Unfortunately i found no easy way to read 'core_freq'. This would be great, since the value is "wrong" for most of the RPi revisions.
2021-11-27 14:00:16 +01:00
youngkin
02c0360e26 add support for PWM balanced mode 2021-11-03 17:44:36 +00:00
Drahoslav Bednář
2ab4c0432c
Merge pull request #77 from b3nn0/pi4-pwm-freq
Fixed PI4 PWM frequency setting due to wrong oscillator frequency
2021-09-20 11:06:20 +02:00
Adrian Batzill
43c0fe30e3 Fixed PI4 PWM frequency setting due to wrong oscillator frequency 2021-09-20 10:59:32 +02:00
Drahoslav Bednář
8a909a0d59
Merge pull request #75 from yuku/patch-1
Fix a broken image link in README
2021-09-19 05:03:53 +02:00
Yuku Takahashi
ad779cfe1a
Fix an image in README 2021-09-12 10:25:50 +09:00
Drahoslav Bednář
cdf314c67a
Update README.md
Update the go doc link to the v4 version
2021-08-19 12:59:29 +02:00
Draho
6c3791555a v4.5.0 2021-08-19 03:45:29 +02:00
Draho
96203992c9 Use v4 modules version in examples 2021-08-19 03:39:30 +02:00
Drahoslav Bednář
6ea7dcc05f
Fixes permission error
Closes #70
2021-08-19 02:37:13 +02:00
Drahoslav Bednář
6d1cac1060
Merge pull request #30 from myyra/pwm-doc-fix
Use correct pin in the instructions
2021-08-19 02:24:55 +02:00
Drahoslav Bednář
acc952dac3
Merge pull request #56 from Nox-404/patch-2
Add altX modes for pins
2020-07-05 11:27:35 +02:00
Drahoslav Bednář
b62d4bed37
Merge pull request #50 from wfd3/master
Updated to support Raspberry Pi 4 GPIO Base Address
2020-06-06 18:29:37 +02:00
Nox
4f671f7c24 Add altX modes for pins
Add support to set alt modes directly
2020-02-20 14:48:26 +01:00
Walt Drummond
9f58572951 Support Pi3 and earlier boards 2019-11-28 11:39:57 -08:00
Walt Drummond
be82a08f8a Expand example to cover new Pi 4 ReadPull() interface 2019-11-28 11:39:02 -08:00
Walt Drummond
10d3b57bb6 Updated Pull-up/Pull-down to support BCM2711 and PRi4 2019-11-27 12:39:38 -08:00
Walt Drummond
ed5c36b35a Updated to support Raspberry Pi 4 GPIO Base Address 2019-10-24 10:28:39 -07:00
Stian Eikeland
a36b96d0b1
Merge pull request #41 from CodeLingoBot/rewrite
Fix function comments based on best practices from Effective Go
2019-02-14 22:39:46 +01:00
CodeLingo Bot
0720c3a89d Fix function comments based on best practices from Effective Go
Signed-off-by: CodeLingo Bot <bot@codelingo.io>
2019-02-14 20:50:48 +00:00
Stian Eikeland
d43a3ce818
v4.4.0 2018-12-03 00:18:58 +01:00
Stian Eikeland
31e2cec6d2
Merge pull request #37 from stianeikeland/feature/irq-enable-disable
Feature/irq enable disable
2018-12-03 00:15:01 +01:00
Drahoslav
84326092ab Disable gpio IRQ on Detect edge 2018-12-01 15:59:22 +01:00
Drahoslav
631591fc01 Add IRQ enable/disable 2018-12-01 05:28:32 +01:00
Stian Eikeland
579db243a0
Update usage example: Use /v4 in import 2018-11-30 15:01:09 +01:00
Stian Eikeland
1fd77dd987
Specify major version in go.mod 2018-11-30 14:51:52 +01:00
Stian Eikeland
ac4019c8de
Release 4.3.0 - SPI 2018-11-29 17:38:40 +01:00
Stian Eikeland
0f7b17862c Added go.mod 2018-11-29 17:32:58 +01:00
Stian Eikeland
23a42cad9b
Added a SPI usage example 2018-11-29 17:29:11 +01:00
Stian Eikeland
0811a9f862 Added SPI documentation (copied from PR) 2018-11-29 17:03:49 +01:00
Stian Eikeland
14a5036b21
Merge pull request #31 from Drahoslav7/feature/spi
SPI support
2018-11-29 16:34:33 +01:00
Drahoslav
473106cc71 Add clockmode and cspolarity SPI settings 2018-11-28 10:22:36 +01:00
Drahoslav
794e6ddd7e Improve doc 2018-11-28 10:22:30 +01:00
Drahoslav
7d2387e2cc Define 3 SPI transfering functions, and other minor changes 2018-11-28 10:20:34 +01:00
Stian Eikeland
019f406b49
Update Readme - v4.2.0 2018-10-09 11:56:17 +02:00
Stian Eikeland
2c2ef096f8
Merge pull request #29 from Drahoslav7/perf/gpio-write
Perf/gpio - faster write and toggle
2018-10-09 11:54:54 +02:00
Joonas Myhrberg
3f5a07644c
Use correct pin in the instructions 2018-10-05 03:03:19 +03:00
Drahoslav
094a866c10 Implement basic SPI 2018-10-04 23:20:31 +02:00
Drahoslav
6c29b50033 Update benchmark 2018-06-07 01:06:07 +02:00
Drahoslav
b1b8e25712 Improve performance of WritePin 2018-06-07 01:06:07 +02:00
Drahoslav
a69ebca5ea Improve performance of pintoggle 2018-06-07 01:06:07 +02:00
Drahoslav
47a3130f54 Minor change in edge event detection api
Also other minor changes and gofmt
2018-06-07 01:06:07 +02:00
Stian Eikeland
3abdd2207d
Release 4.1.0 - With support for edge detection 2018-06-07 00:43:49 +02:00
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