This file contains 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 written by chadmed <[email protected]> | |
# This file is organised from top to bottom as sound enters ALSA from user space. | |
# Set up device and set default for Pulse, PipeWire, JACK, etc. | |
# XXX: doesn't work reliably with PipeWire for some reason. | |
pcm.!default { | |
type plug | |
slave.pcm pass6 | |
} |
This file contains 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
// Zoetrope | |
// Copyright 2014 Kelly Egan | |
// | |
// 3D Strobescopic Zoetrope for Makerfaire 2014 | |
#define BUTTON_PIN 12 //Button to turn zoetrope on and off | |
#define POT_PIN 0 //Potentiometer used to set speed of motor | |
#define INDICATOR_PIN 13 //Indicator LED | |
#define HALL_PIN 3 //Hall effect sensor to determine motor speed |