This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* File: MP3_Shield_RealtimeMIDI.ino | |
* Author: Matthias Neeracher | |
* | |
* This code is in the public domain, with the exception of the contents of sVS1053b_Realtime_MIDI_Plugin. | |
* | |
* The code is based on Nathan Seidle's Sparkfun Electronics example code for the Sparkfun | |
* MP3 Player and Music Instrument shields and and VS1053 breakout board. | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MadHat - Lilypad Simple based LED hat. | |
// | |
// Makes use of Charlieplexing, due to the limited number of pins available. | |
// | |
class LEDPlex { | |
public: | |
LEDPlex(int numPins, const int pins[], const char * patterns); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buspirate.name=Buspirate | |
buspirate.communication=serial | |
buspirate.protocol=buspirate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* FacyFlashlight - control an RGB LED with an ATtiny85. | |
* Matthias Neeracher 2013 | |
* | |
* Needs Arduino-tiny core http://code.google.com/p/arduino-tiny/ | |
* (The attiny core only supports 2 PWM outputs for the ATtiny85) | |
* | |
* This code is in the public domain. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/robots/ols-fwloader.git | |
cd ols-fwloader | |
autoreconf --install | |
./configure | |
make |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo cp -r MacOSX_DiolanDeviceDriver/DiolanDeviceDriver.kext /System/Library/Extensions/ | |
sudo kextutil /System/Library/Extensions/DiolanDeviceDriver.kext | |
sudo touch /System/Library/Extensions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh -x | |
# | |
# Usage: Arduino-Crosspack /Applications/Arduino.app | |
# | |
AVR="$1/Contents/Resources/Java/hardware/tools/avr" | |
sudo rm -rf "$AVR" | |
sudo ln -s /usr/local/CrossPack-AVR "$AVR" | |
sudo codesign -fs - "$1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
class Array | |
def self.of(cclass) | |
return Class.new(Array) do | |
const_set :NESTED, cclass | |
def self.new(size, *args) | |
super(size) do |idx| | |
self::NESTED.new(*args) | |
end |
OlderNewer