aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-02-11 00:37:19 +0900
committertmk <nobody@nowhere>2014-02-11 00:37:19 +0900
commit4ab0ebb199601c37b5fd542d8425247b626bac6d (patch)
tree973c4c5f4a835181ce12b0c7c4d2dfc1f7f4b423
parent47d812bfd67c9162cd0a491717cebb191b538ba3 (diff)
downloadqmk_firmware-4ab0ebb199601c37b5fd542d8425247b626bac6d.tar.gz
qmk_firmware-4ab0ebb199601c37b5fd542d8425247b626bac6d.zip
Change pin configuration
-rw-r--r--converter/ibm4704_usb/README.md6
-rw-r--r--converter/ibm4704_usb/config.h2
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==================================
3This firmware converts IBM 4704 keyboard protocol to USB HID. 3This firmware converts IBM 4704 keyboard protocol to USB HID.
4 4
5Keyboard 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
64704 Connector 84704 Connector
7-------------- 9--------------
8 Keyboard Plug from front 10Keyboard Plug from front:
9 11
10 DSUB-9 12 DSUB-9
11 ------------- 13 -------------
@@ -24,7 +26,7 @@ Connection
24In case of using ATMega32U4(Teensy2.0): 26In case of using ATMega32U4(Teensy2.0):
25 27
261. Supply power with VCC and GND. 281. Supply power with VCC and GND.
272. Connect CLOCK to PD1 and DATA to PD2. You can change pin with config.h. 292. Connect CLOCK to PD1 and DATA to PD0. You can change pin with config.h.
283. Optionally you may need pull-up register. 1KOhm probably work. 303. 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