Skip to content

Instantly share code, notes, and snippets.

diff --git a/Software/src/Version 6/MorseOutput.cpp b/Software/src/Version 6/MorseOutput.cpp
index 8e906d8..5e07d6e 100644
--- a/Software/src/Version 6/MorseOutput.cpp
+++ b/Software/src/Version 6/MorseOutput.cpp
@@ -48,6 +48,7 @@ DisplayWrapper display;
#ifdef CONFIG_SOUND_I2S
#include "I2S_Sidetone.hpp"
I2S_Sidetone sidetone;
+uint8_t last_volume = MorsePreferences::sidetoneVolume;
#endif
@haklein
haklein / hrctl.py
Created February 13, 2023 15:54
Hardrock 50 amp remote control
#!/usr/bin/python3
import sys
import serial
import re
import gevent
import gevent.pywsgi
import gevent.queue
from tinyrpc.server.gevent import RPCServerGreenlets
@haklein
haklein / annealer.ino
Created February 1, 2022 15:20
Annealer sketch with TMC additions
/*---------------------------------------------------------------------------*/
/*! @brief Brass Cartridge Case Annealer.
@details None.
@author Justin Spence, Mark Griffith. 2020
@note circuitworksnz@gmail.com
*//*-------------------------------------------------------------------------*/
//--Includes-------------------------------------------------------------------
#include <SPI.h>
#include <Wire.h>
@haklein
haklein / map_slow_requests_to_buckets.sh
Created August 5, 2016 18:37 — forked from linuxkidd/map_slow_requests_to_buckets.sh
Provided a ceph.log and ceph osd tree output, this script generates a CSV mapping any 'slow request' entries to their appropriate buckets for identifying common hardware to the slow requests.
#!/bin/bash
if [ -z $2 ]; then
echo
echo "Usage: $(basename $0) <ceph.log> <osd-tree>"
echo
exit 1
fi
if [ ! -e $1 ]; then