Google's GBoard software keyboard has a Morse code mode.
Here's what characters it currently supports:
.-
→a
-...
→b
-.-.
→c
-..
→d
#!/usr/bin/env python | |
""" | |
BlinkTxt - Spike Snell - 2013 | |
Modified from Morse_Gmail.py | |
by m0xpd December 2012 | |
""" | |
# Import what we need | |
import time, sys | |
import RPi.GPIO as GPIO |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<META NAME="DESCRIPTION" CONTENT="Pi Mem. A Memorization aid for the first 500 digits of pi implemented with javascript. Complete with configurable dificulty levels, current digit counter, and next digit tips."> | |
<META NAME="KEYWORDS" CONTENT="pi,memorization,500,aid,pi mem,spike snell,spike"> | |
<title>Pi Mem - Memorize the first 500 digits</title> | |
<STYLE TYPE="text/css"> |
#!/bin/bash | |
# Binary Bash Clock | |
# Spike Snell - 2012 | |
while true; | |
do | |
clear | |
hour=$(date +%H) | |
minute=$(date +%M) | |
second=$(date +%S) | |
hour_binary=$(echo "ibase=10;obase=2;$hour" | bc) |
<html> | |
<head> | |
<title>Javascript Flasher Clock</title> | |
<script> | |
// Set up our colors array | |
const colors = [ | |
'#FFFFFF', |
#!/bin/bash | |
# Calculate approximate moon phase | |
moonphase(){ | |
local lp=2551443 | |
local now=$(date -u +"%s") | |
local newmoon=592500 | |
local phase=$((($now - $newmoon) % $lp)) | |
local phase_number=$((((phase / 86400) + 1)*100000)) |
# Run the sleepy mushroom like a dodow sleep aid | |
# Makes use of WS2812FX Web Interface by kitesurfer1404: | |
# https://github.com/kitesurfer1404/WS2812FX | |
# Set animation to fade | |
curl http://192.168.0.128/set?m=15 | |
# Set color to red | |
curl http://192.168.0.128/set?c=16711680 |
<title>Breathe</title> | |
<style> | |
@keyframes breathe { | |
from { background-color: black; } | |
to { background-color: red; } | |
} | |
body { |
#include "DigiKeyboard.h" | |
// Define button pin | |
const int buttonPin = 2; | |
// Define button state | |
int buttonState = 0; | |
// Setup | |
void setup() { |
Google's GBoard software keyboard has a Morse code mode.
Here's what characters it currently supports:
.-
→ a
-...
→ b
-.-.
→ c
-..
→ d
# Circuit Python Script that Blinks the Current Temperature in Celsius in Morse Code | |
# Modified July 2022 by Spike Snell from jay0lee's code below on github: | |
# https://gist.github.com/jay0lee/e3cec7b2d126e3887c5c899635aeef90 | |
# Import all that we need | |
import board, digitalio, microcontroller, time | |
# Define the length of a dot | |
dot = 0.25 |