Skip to content

Instantly share code, notes, and snippets.

View Crysknife007's full-sized avatar

Spike Snell Crysknife007

View GitHub Profile
@Crysknife007
Crysknife007 / pico_morse_temperature.py
Created July 17, 2022 15:46 — forked from jay0lee/pico_morse_temperature.py
CircuitPython script for the Raspberry Pi Pico that reads the CPU temperature and displays it in morse code.
# 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
@Crysknife007
Crysknife007 / gboard_morse.md
Created July 21, 2021 15:27 — forked from natevw/gboard_morse.md
A list of Morse code supported by GBoard Android Keyboard

Morse code supported by GBoard Android Keyboard

Google's GBoard software keyboard has a Morse code mode.

Here's what characters it currently supports:

  • .-a
  • -...b
  • -.-.c
  • -..d
@Crysknife007
Crysknife007 / moonphase.sh
Last active March 23, 2024 02:44 — forked from zuloo/moonphase.sh
moonphase bash script
#!/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))
@Crysknife007
Crysknife007 / blinkTxt.py
Last active December 15, 2015 08:29 — forked from m0xpd/Morse_Gmail.py
Morse code driver for Raspberry Pi. Prints text from a text file.
#!/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