Skip to content

Commit df87be6

Browse files
authored
Removed QEP instructions from Encoder module
1 parent f1bfb1e commit df87be6

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

Adafruit_BBIO/Encoder.py

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,5 @@
11
#!/usr/bin/python
22

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

0 commit comments

Comments
 (0)