Skip to content

Commit 792386c

Browse files
authored
Copy Encoder module comments to README.md
1 parent 335e105 commit 792386c

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

Adafruit_BBIO/README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# ===========================================================================
2+
# Adafruit_BBIO.Encoder Class
3+
# ===========================================================================
4+
# refers to graycatlabs/PyBBIO/bbio/libraries/RotaryEncoder/rotary_encoder.py
5+
6+
# BeagleBone must boot with cape-universal enabled
7+
# and load the cape-universala overlay in order to
8+
# use all the eQEP pins
9+
#
10+
# Install the latest Device Tree overlays:
11+
# ========================================
12+
# sudo apt-get upgrade bb-cape-overlays
13+
#
14+
# File: /boot/uEnv.txt
15+
# ====================
16+
# uname_r=4.4.62-ti-r99
17+
# cmdline=coherent_pool=1M quiet cape_universal=enable
18+
# cape_enable=bone_capemgr.enable_partno=cape-universala
19+
#
20+
# File: /sys/devices/platform/bone_capemgr/slots
21+
# ==============================================
22+
# 0: PF---- -1
23+
# 1: PF---- -1
24+
# 2: PF---- -1
25+
# 3: PF---- -1
26+
# 4: P-O-L- 0 Override Board Name,00A0,Override Manuf,cape-universala
27+
#
28+
# eqep0: P9_27, P9_92
29+
# ===================
30+
# config-pin P9_27 qep
31+
# config-pin P9_92 qep # alias for P9_42.1
32+
# cat /sys/devices/platform/ocp/48300000.epwmss/48300180.eqep/position
33+
#
34+
# eqep1: P8.33, P8.35
35+
# ===================
36+
# config-pin P8.33 qep
37+
# config-pin P8.35 qep
38+
# cat /sys/devices/platform/ocp/48302000.epwmss/48302180.eqep/position
39+
#
40+
# eqep2: P8.11, P8.12
41+
# ===================
42+
# config-pin P8.11 qep
43+
# config-pin P8.12 qep
44+
# cat /sys/devices/platform/ocp/48304000.epwmss/48304180.eqep/position
45+
#
46+
# alternate pins for eqep2 (mutually exclusive)
47+
# eqep2b: P8.41, P8.42
48+
# ====================
49+
# config-pin P8.41 qep
50+
# config-pin P8.42 qep
51+
# cat /sys/devices/platform/ocp/48304000.epwmss/48304180.eqep/position

0 commit comments

Comments
 (0)