Commit Graph

19 Commits

Author SHA1 Message Date
Aleksei Fedotov
904f4f9711 Add conversion from physical PIN to BCM notation.
On Open() detect the board model and configure how physical PINs are
mapped to GPIO pin numbers [1].

Model detection is based on content of
/sys/firmware/devicetree/base/model [2] . If you are running a weird or
very old system which does not have the file, GetBoardPin() won't work.

[1] https://pinout.xyz/
[2] https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md
2020-04-26 18:54:01 +02:00
Stian Eikeland
d43a3ce818
v4.4.0 2018-12-03 00:18:58 +01:00
Stian Eikeland
579db243a0
Update usage example: Use /v4 in import 2018-11-30 15:01:09 +01:00
Stian Eikeland
ac4019c8de
Release 4.3.0 - SPI 2018-11-29 17:38:40 +01:00
Stian Eikeland
0811a9f862 Added SPI documentation (copied from PR) 2018-11-29 17:03:49 +01:00
Stian Eikeland
019f406b49
Update Readme - v4.2.0 2018-10-09 11:56:17 +02:00
Stian Eikeland
3abdd2207d
Release 4.1.0 - With support for edge detection 2018-06-07 00:43:49 +02:00
Stian Eikeland
15b37924a8
Add link to godoc.org in readme 2018-01-12 13:20:14 +01:00
Stian Eikeland
4e5f1593d7 Update readme (PWM / Clock) 2018-01-12 01:13:42 +01:00
Stian Eikeland
896db2ee1c Described how to use /dev/gpiomem 2015-12-08 01:50:14 +01:00
Stian Eikeland
ab68f61e91 Updated readme with release info 2015-03-08 14:34:25 +01:00
Stian Eikeland
e7909f46c9 update blog url in readme.md 2014-08-25 12:38:50 +02:00
omardelarosa
4507e0d0b8 corrected a typo in the readme.md 2014-02-12 15:28:37 -05:00
Stian Eikeland
8b18ea0634 Added blinking gif to readme 2013-12-05 19:39:42 +01:00
Stian Eikeland
70c7256ee4 Update README.md 2013-07-30 20:27:10 +02:00
Stian Eikeland
e934c432f9 Added support for PullUp / PullDown / PullOff 2013-07-30 19:25:43 +02:00
Stian Eikeland
7136a1a68f Added basic description to README.md 2013-07-30 17:16:42 +02:00
Stian Eikeland
942b04b4d0 Started on rpi gpio library 2013-07-30 06:10:01 +02:00
Stian Eikeland
12d6303a60 Initial commit 2013-07-29 20:58:34 -07:00