#include "nuty.h" int tony[46] = {c2, d2, g1, c2, g1, e2, e2, f2, d2, e2, c2, d2, h1, c2, g1, e2, e2,f2, d2,e2,c2,e2,c2,e2,f2,d2,h1,g1,c2,e2,c2,e2,f2,d2,h1,g1,c2,c2,d2,d2,e2,c2,c2,d2,d2,c2}; int czasy[46] = {1000, 500, 500, 1000, 1000, 500, 500, 500, 500, 2000, 1000, 500, 500, 1000, 1000, 500, 500, 500, 500, 2000, 500, 500, 500, 500, 750, 250, 500, 500, 500, 500, 500, 500, 750, 250, 500, 500, 500, 500, 500, 500, 2000, 500, 500, 500, 500, 2000}; void setup(){ pinMode(3, OUTPUT); for (int i = 0; i < 46; i++) { tone(3, tony[i]); delay(czasy[i]); } noTone(3); } void loop() { }