Google's GBoard software keyboard has a Morse code mode.
Here's what characters it currently supports:
.-→a-...→b-.-.→c-..→d
| #include <M5Unified.h> | |
| M5Canvas sprite; | |
| void setup() { | |
| M5.begin(); | |
| sprite.createSprite(120, 120); | |
| sprite.drawCircle(sprite.width() >> 1, sprite.height() >> 1, sprite.width() >> 2, RED); | |
| sprite.drawRect(0, 0, sprite.width() - 1, sprite.height() - 1, RED); |
| // Compound oscillation demo for ESP32 | |
| // Loosely coded by tobozo (c+) apr 2022 - | |
| // Inspired by this GIF | |
| // - https://twitter.com/bayraitt/status/1514499189975134210 | |
| #include <ESP32-Chimera-Core.h> // https://github.com/tobozo/ESP32-Chimera-Core | |
| static LGFX &tft(M5.Lcd); | |
| static LGFX_Sprite* spriteLines = new LGFX_Sprite( &tft ); | |
| static LGFX_Sprite* spriteMix = new LGFX_Sprite( &tft ); |
| #define LGFX_AUTODETECT | |
| #define LGFX_USE_V1 | |
| #include <lvgl.h> | |
| #include <M5EPD.h> | |
| #include <LovyanGFX.hpp> | |
| static const uint16_t screenWidth = 960; | |
| static const uint16_t screenHeight = 540; | |
| lv_disp_draw_buf_t draw_buf; |
| #include <M5Stack.h> | |
| #include "SimpleBeep.h" | |
| void setup(void){ | |
| M5.begin(); | |
| sb.init(); | |
| } | |
| void loop(void){ |
Google's GBoard software keyboard has a Morse code mode.
Here's what characters it currently supports:
.- → a-... → b-.-. → c-.. → d