Skip to content

Instantly share code, notes, and snippets.

@ambinaut
ambinaut / Attiny85_MIDI_clk_to_tap_tempo_03_ADC_off.ino
Created March 29, 2015 22:02
MIDI clock to Digitech JamMan stereo tap tempo
/*
This sketch listens to incoming midi clock messages on port RX and pulses output tempo_pin each quarter note,
i.e. every 24th clock tick
Written for Attiny85 but can be modified for other Atmega, Attiny MCU's
IMPORTANT! Don't use pins RX, TX for anything else other than the SoftwareSerial library
more details, schematics, etc.. here: http://ambinaut.wordpress.com/2014/07/14/digitech-jamman-stereo-midi-sync/
*/
#define F_CPU 8000000UL //Define the speed the clock is running at. Used for the delay.h functions