Arduino ile Butonlara basarak melodi oluşturmak
Arduino Başlangıç Seti: Proje 7 Proje adı: KLAVYE CİHAZI Keşfet: direnç merdivenleri, diziler Kod: int butons[6]; // set up an array with 6 integers int butons[0] = 2; // give the frst element of the array the value 2 int notes[] = {262,294,330,349}; void setup() { Serial.begin(9600); } void loop() { int keyVal = analogRead(A0); Serial.println(keyVal); if(keyVal […]