This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let keyboard = require("keyboard"); | |
let submenu = require("submenu"); | |
let storage = require("storage"); | |
let notify = require("notification"); | |
let gpio = require("gpio"); // remove this if you are not using any GPIO (only using internal LED) | |
function blink_morse_code(morse_letter, morse_led_pin, time_delay) { | |
for (let i = 0; i < morse_letter.length; i++) { | |
if (chr(morse_letter.at(i)) === '.'){ | |
if (morse_led_pin === 'INTERNAL'){ |