瀏覽代碼

Change pin configuration

tmk 11 年之前
父節點
當前提交
4ab0ebb199
共有 2 個文件被更改,包括 5 次插入3 次删除
  1. 4 2
      converter/ibm4704_usb/README.md
  2. 1 1
      converter/ibm4704_usb/config.h

+ 4 - 2
converter/ibm4704_usb/README.md

@@ -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.
 
 

+ 1 - 1
converter/ibm4704_usb/config.h

@@ -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