diff options
| author | tmk <nobody@nowhere> | 2014-02-11 00:37:19 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2014-02-11 00:37:19 +0900 |
| commit | 4ab0ebb199601c37b5fd542d8425247b626bac6d (patch) | |
| tree | 973c4c5f4a835181ce12b0c7c4d2dfc1f7f4b423 | |
| parent | 47d812bfd67c9162cd0a491717cebb191b538ba3 (diff) | |
| download | qmk_firmware-4ab0ebb199601c37b5fd542d8425247b626bac6d.tar.gz qmk_firmware-4ab0ebb199601c37b5fd542d8425247b626bac6d.zip | |
Change pin configuration
| -rw-r--r-- | converter/ibm4704_usb/README.md | 6 | ||||
| -rw-r--r-- | converter/ibm4704_usb/config.h | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/converter/ibm4704_usb/README.md b/converter/ibm4704_usb/README.md index 852a4448a..6541dd6d0 100644 --- a/converter/ibm4704_usb/README.md +++ b/converter/ibm4704_usb/README.md | |||
| @@ -2,10 +2,12 @@ IBM 4704 to USB keyboard converter | |||
| 2 | ================================== | 2 | ================================== |
| 3 | This firmware converts IBM 4704 keyboard protocol to USB HID. | 3 | This firmware converts IBM 4704 keyboard protocol to USB HID. |
| 4 | 4 | ||
| 5 | 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.** | ||
| 6 | |||
| 5 | 7 | ||
| 6 | 4704 Connector | 8 | 4704 Connector |
| 7 | -------------- | 9 | -------------- |
| 8 | Keyboard Plug from front | 10 | Keyboard Plug from front: |
| 9 | 11 | ||
| 10 | DSUB-9 | 12 | DSUB-9 |
| 11 | ------------- | 13 | ------------- |
| @@ -24,7 +26,7 @@ Connection | |||
| 24 | In case of using ATMega32U4(Teensy2.0): | 26 | In case of using ATMega32U4(Teensy2.0): |
| 25 | 27 | ||
| 26 | 1. Supply power with VCC and GND. | 28 | 1. Supply power with VCC and GND. |
| 27 | 2. Connect CLOCK to PD1 and DATA to PD2. You can change pin with config.h. | 29 | 2. Connect CLOCK to PD1 and DATA to PD0. You can change pin with config.h. |
| 28 | 3. Optionally you may need pull-up register. 1KOhm probably work. | 30 | 3. Optionally you may need pull-up register. 1KOhm probably work. |
| 29 | 31 | ||
| 30 | 32 | ||
diff --git a/converter/ibm4704_usb/config.h b/converter/ibm4704_usb/config.h index 8c2d08f6f..befed0d53 100644 --- a/converter/ibm4704_usb/config.h +++ b/converter/ibm4704_usb/config.h | |||
| @@ -50,7 +50,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 50 | #define IBM4704_DATA_PORT PORTD | 50 | #define IBM4704_DATA_PORT PORTD |
| 51 | #define IBM4704_DATA_PIN PIND | 51 | #define IBM4704_DATA_PIN PIND |
| 52 | #define IBM4704_DATA_DDR DDRD | 52 | #define IBM4704_DATA_DDR DDRD |
| 53 | #define IBM4704_DATA_BIT 2 | 53 | #define IBM4704_DATA_BIT 0 |
| 54 | 54 | ||
| 55 | /* | 55 | /* |
| 56 | * Pin interrupt | 56 | * Pin interrupt |
