Add support for Seeeduino XIAO

This commit is contained in:
Neale Pickett 2021-01-18 14:56:43 -07:00
parent cddf9df0c0
commit 32a0a09110
1 changed files with 7 additions and 0 deletions

View File

@ -7,9 +7,16 @@
#include <Keyboard.h>
#include "bounce2.h"
#ifdef ARDUINO_SEEED_XIAO_M0
#define DIT_PIN 2
#define DAH_PIN 1
#define KEY_PIN 0
#else
#define DIT_PIN 12
#define DAH_PIN 11
#define KEY_PIN 10
#endif
#define KBD_PIN 9
#define STRAIGHT_KEY ','