Skip to content

Instantly share code, notes, and snippets.

Matthias Neeracher microtherion

Block or report user

Report or block microtherion

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Christmas2016.ino
* Derived from Nathan Seidle's LED strip demo code
* You will need to connect 5V/Gnd from the Arduino (USB power seems to be sufficient).
* For the data pins, please pay attention to the arrow printed on the strip. You will need to connect to
* the end that is the begining of the arrows (data connection)--->
* The documented wire colors are very unreliable. Follow the labels printed on the LED strip.
microtherion / components_separated_by_string.cpp
Created Aug 10, 2015
Implement C++ equivalent of ObjC componentsSeparatedByString:
View components_separated_by_string.cpp
#include <algorithm>
#include <string>
#include <vector>
#include <iostream>
template <typename String, typename OutputIt>
void components_separated_by_string(const String & string, const String & separator, OutputIt out)
typename String::size_type comp_start=0, comp_end;
while ((comp_end = string.find(separator, comp_start)) != String::npos) {
View Morgenrot_MP3.ino
#include <SPI.h>
//Add the SdFat Libraries
#include <SdFat.h>
#include <SdFatUtil.h>
//and the MP3 Shield Library
#include <SFEMP3Shield.h>
View Morgenrot_EL.ino
// Light show "Trittst im Morgenrot daher"
enum {
kFlagRed1 = 2,
microtherion / nested_containers.rb
Created Feb 23, 2014
Perl-style autovivication for Ruby hashes and Arrays
View nested_containers.rb
class Array
def self.of(cclass)
return do
const_set :NESTED, cclass
def, *args)
super(size) do |idx|*args)
View XBotMicroDemo.ino
// Demonstrate various behaviors for XBotMicro
// Matthias Neeracher: Derived from original XBotMicro demo4, rewritten in English,
// added pinouts for ATtiny X4/X5
// This code is licensed under the same conditions as the original XBotMicro demo code.
#include <Arduino.h>
#!/bin/sh -x
# Usage: Arduino-Crosspack /Applications/
sudo rm -rf "$AVR"
sudo ln -s /usr/local/CrossPack-AVR "$AVR"
sudo codesign -fs - "$1"
ols_fwloader -f APP -P /dev/tty.usbXXXXX -W -w FPGAROM/logic_sniffer_3.07-Demon-Core.bit -t BIN
ols_fwloader -f BOOT -n -P /dev/tty.usbXXXXX -V -W -w PIC_firmware/OLSv1.firmware.v3.0.hex
sudo cp -r MacOSX_DiolanDeviceDriver/DiolanDeviceDriver.kext /System/Library/Extensions/
sudo kextutil /System/Library/Extensions/DiolanDeviceDriver.kext
sudo touch /System/Library/Extensions
microtherion /
Last active Dec 16, 2015
Compiling ols-fwloader
git clone
cd ols-fwloader
autoreconf --install
You can’t perform that action at this time.