Fixed rendering issues with reademe.

This commit is contained in:
Matthew Nielsen 2017-01-24 16:49:04 -07:00
parent 3b37397f06
commit fdb1eff8fd

View File

@ -27,7 +27,9 @@ Connections from the 26-pin connector on the Apple IIe keyboard to the pins on
the Teensy 2.0 pins. "--" denotes connection to the shift register, covered
below.
```
IIe Connector Col/Row Arduino IDE Pin Teensy 2.0 Pin
1 Y0 0 B0
2 Y1 1 B1
3 +5V +5v +5v
@ -54,11 +56,13 @@ IIe Connector Col/Row Arduino IDE Pin Teensy 2.0 Pin
24 SHIFT -- --
25 Y7 13 B4
26 X6 12 D7
```
Wiring note: With the keyboard sitting in front of you as though you were typing
on it, pins 25/26 will be on the end of the connector closest to you, and pins
1/2 will be on the end of the connector farthest from you:
```
+----------------+
| | +-------+
| | | 1/2 |
@ -66,39 +70,35 @@ on it, pins 25/26 will be on the end of the connector closest to you, and pins
| | | 25/26 |
| | +-------+
+----------------+
```
#### Modifier keys to shift register
Follows DIP-8 package: http://www.ti.com/lit/ds/symlink/sn74ls165a.pdf
```
IIe Connector Col/Row Shift Register Input Notes
5 SW1/CAPL B (pin 12) Active High
7 SW0/OAPL A (pin 11) Active High
9 CAPLOCK E (pin 3) Active Low, needs pull-up
11 CNTL H (pin 6) Active Low, needs pull-up
15 RESET G (pin 5) Active Low, needs pull-up, active low (only active with Control)
24 SHIFT F (pin 4) Active Low, needs pull-up
Shift Register Pins-to-Keys:
0: open-apple, pull-down, active high
1: closed-apple, pull-down, active high
2: unused
3: unused
4: Caps-Lock, pull-up, active low
5: Shift, pull-up, active low
6: Reset, pull-up, active low (only active with Control)
7: Control, pull-up, active low
```
#### Shift register to Teensy 2.0
```
Teensy 2.0 Pin Shift Register Pin
18/F5 1: Parallel Load / SH/LD (active low)
19/F4 15: Clock Enable / CLK INH (active low)
20/F1 2: Clock Pulse / CLK (low-to-high edge triggered)
21/F0 9: Data Pin (Q7)
+5v 16: VCC
GND 8: GND
```
Follows DIP-8 package: http://www.ti.com/lit/ds/symlink/sn74ls165a.pdf
@ -106,10 +106,13 @@ Follows DIP-8 package: http://www.ti.com/lit/ds/symlink/sn74ls165a.pdf
Leave these unconnected.
```
Teensy 2.0 Purpose
7/D2 USB RX
8/D3 USB TX
11/D6 Caps Lock LED (LED_BUILTIN)
```
### Changes