Skip to content

Instantly share code, notes, and snippets.

@prosper00
prosper00 / AKWF_0001.h
Last active July 10, 2023 15:59
bash script to convert sound file to C/C++ header
/* Adventure Kid Waveforms (AKWF) converted for use with Teensy Audio Library
*
* Adventure Kid Waveforms(AKWF) Open waveforms library
* https://www.adventurekid.se/akrt/waveforms/adventure-kid-waveforms/
*
* This code is in the public domain, CC0 1.0 Universal (CC0 1.0)
* https://creativecommons.org/publicdomain/zero/1.0/
*
* Converted by Brad Roy, https://github.com/prosper00
*/
@prosper00
prosper00 / CandleflickerLED.c
Last active January 20, 2021 22:30
Port of https://github.com/cpldcpu/CandleLEDhack/ for STM8/SDCC (Requires STM8 SPL)
/*
* CandeflickerLED.c
*
* Created: 01.20.2021
*
* Emulates a Candleflicker-LED on an STM8 microcontroller.
* Please use SDCC to compile and update the defines below according to your controller.
* (Require the ST SPL library, patched for SDCC): https://github.com/gicking/STM8-SPL_SDCC_patch
*
* Original code and research here: