소스 검색

Change pin configuration

keymap_in_eeprom
tmk 10 년 전
부모
커밋
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