Skip to content

Instantly share code, notes, and snippets.

@m0xpd
m0xpd / ADSRduino.ino
Last active October 6, 2021 09:59
A simple ADSR for the Arduino
// ADSRduino
//
// a simple ADSR for the Arduino
// m0xpd
// Feb 2017
//
// see http://m0xpd.blogspot.co.uk/2017/02/signal-processing-on-arduino.html
//
// uses a Microchip MCP4921 DAC on digital pins 4,5,6 & 8 (see below)
// receives gate inputs on digital pin 2 (remember to protect e.g. with a 200R resistor and a 5V1 Zener diode)