Skip to content

Instantly share code, notes, and snippets.

@cadr
cadr / esp32_morse_keyboard.ino
Created April 25, 2021 04:47
ESP32/Arduino code to have morse paddle as BLE keyboard
//Inspriation from http://oz1jhm.dk/content/hamradio-solutions-vband-interface
//But modified to work with esp32 BLE as a keyboard.
//Am using as input to the iOS "Morse-It" app
//Note that this BleKeyboard library needs to be download and added - see https://github.com/T-vK/ESP32-BLE-Keyboard
#include <BleKeyboard.h>
#include <Bounce2.h>
# define DIH_PIN 26
# define DAH_PIN 25