#ifndef JOKERMUSIKK_H #define JOKERMUSIKK_H #include const int Output = 1; // Can be 1 or 4 // Cater for 16MHz, 8MHz, or 1MHz clock: const int Clock = ((F_CPU/1000000UL) == 16) ? 4 : ((F_CPU/1000000UL) == 8) ? 3 : 0; const uint8_t scale[] PROGMEM = {239,226,213,201,190,179,169,160,151,142,134,127}; void note (int n, int octave); #endif