Change pin configuration
parent
47d812bfd6
commit
4ab0ebb199
|
@ -2,10 +2,12 @@ IBM 4704 to USB keyboard converter
|
|||
==================================
|
||||
This firmware converts IBM 4704 keyboard protocol to USB HID.
|
||||
|
||||
Keyboard initialization process takes a few seconds at start up. During that you will hear buzzer from the keyboard. **You need to plug USB cable after hooking up your keyboard to the converter.**
|
||||
|
||||
|
||||
4704 Connector
|
||||
--------------
|
||||
Keyboard Plug from front
|
||||
Keyboard Plug from front:
|
||||
|
||||
DSUB-9
|
||||
-------------
|
||||
|
@ -24,7 +26,7 @@ Connection
|
|||
In case of using ATMega32U4(Teensy2.0):
|
||||
|
||||
1. Supply power with VCC and GND.
|
||||
2. Connect CLOCK to PD1 and DATA to PD2. You can change pin with config.h.
|
||||
2. Connect CLOCK to PD1 and DATA to PD0. You can change pin with config.h.
|
||||
3. Optionally you may need pull-up register. 1KOhm probably work.
|
||||
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#define IBM4704_DATA_PORT PORTD
|
||||
#define IBM4704_DATA_PIN PIND
|
||||
#define IBM4704_DATA_DDR DDRD
|
||||
#define IBM4704_DATA_BIT 2
|
||||
#define IBM4704_DATA_BIT 0
|
||||
|
||||
/*
|
||||
* Pin interrupt
|
||||
|
|
Loading…
Reference in New Issue