You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+22-19Lines changed: 22 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,18 +21,20 @@ Display
21
21
-------
22
22
23
23
To display the NES output, please connect a 320x240 ili9341-based SPI display to the ESP32 in this way:
24
-
===== =====
25
-
Pin GPIO
26
-
===== =====
27
-
MISO 25
28
-
MOSI 23
29
-
CLK 19
30
-
CS 22
31
-
DC 21
32
-
RST 18
33
-
BCKL 5 (backlight enable)
34
-
===== =====
35
24
25
+
===== =======================
26
+
Pin GPIO
27
+
===== =======================
28
+
MISO 25
29
+
MOSI 23
30
+
CLK 19
31
+
CS 22
32
+
DC 21
33
+
RST 18
34
+
BCKL 5
35
+
===== =======================
36
+
37
+
(BCKL = backlight enable)
36
38
37
39
Also connect the power supply and ground. For now, the LCD is controlled using a SPI peripheral, fed using the 2nd CPU. This is less than ideal; feeding
38
40
the SPI controller using DMA is better, but was left out due to this being a proof of concept.
@@ -42,14 +44,15 @@ Controller
42
44
----------
43
45
44
46
To control the NES, connect a Playstation 1 or 2 controller as such:
45
-
===== =====
46
-
Pin GPIO
47
-
===== =====
48
-
CLK 14
49
-
DAT 27
50
-
ATT 16
51
-
CMD 2
52
-
===== =====
47
+
48
+
===== =====
49
+
Pin GPIO
50
+
===== =====
51
+
CLK 14
52
+
DAT 27
53
+
ATT 16
54
+
CMD 2
55
+
===== =====
53
56
54
57
Also connect the power and ground lines. Most PS1/PS2 controllers work fine from a 3.3V power supply, if a 5V one is unavailable.
0 commit comments