QMK Tutorial Hand Wired QMK Firmware test with Pro Micro and Buzzer, Analog Joystick, OLED SSD1306

Опубликовано: 07 Ноябрь 2021
на канале: FREE WING
4,151
42

[No Speech, No BGM] QMK Tutorial Hand Wired QMK Firmware test with Pro Micro and Buzzer, Analog Joystick, OLED SSD1306

Quantum Mechanical Keyboard
Piezo Buzzer = Passive
Analog Joystick = PSP-2000 compatible
OLED Display = I2C SSD1306 128x32

QMK firmware Source Code and Hand Wired Schematics
https://github.com/FREEWING-JP/qmk_fi...

rules.mk
AUDIO_ENABLE = yes
JOYSTICK_ENABLE = yes # Joystick Game controller HID Interface
JOYSTICK_DRIVER = analog # Stick mode analog or digital
SRC += analog.c
OLED_ENABLE = yes # Display Feature
OLED_DRIVER = SSD1306 # OLED SSD1306 128x32

config.h
// Atmega32U4 Pro Micro C6 pin
#define AUDIO_PIN C6

// Atmega32U4 Pro Micro X=B4, Y=B5 pin
#define JOYSTICK_BUTTON_COUNT 0
#define JOYSTICK_AXES_COUNT 2
#define JOYSTICK_AXES_RESOLUTION 10

// Atmega32U4 Pro Micro SDA=D1, SCK=D0 pin
#define OLED_DISPLAY_ADDRESS 0x3C
#define OLED_BRIGHTNESS 255
#define OLED_IC OLED_IC_SSD1306
#define OLED_DISPLAY_WIDTH 128
#define OLED_DISPLAY_HEIGHT 32
#define OLED_TIMEOUT 31000

FREE WING's Homepage
http://www.neko.ne.jp/~freewing/hardw...
http://www.neko.ne.jp/~freewing/hardw...

QMK firmwareで Audio機能を試してみる
QMK firmwareで Analog Stick機能で PSP2000用アナログ ジョイスティックを試してみる
QMK firmwareで OLED機能で SSD1306を試してみる