Prototyping/2019-10-16: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 14: Line 14:
}
}
</source>
</source>
How do frequencies relate to tones...
[Piano key frequencies https://en.wikipedia.org/wiki/Piano_key_frequencies]

Revision as of 08:27, 16 October 2019

Starting with a very simple program...

void setup() {
  tone(11, 220, 60);
  delay(100);
  tone(11, 440, 60);
  delay(100);
  tone(11, 880, 60);
  delay(1000);
}

void loop() {
}

How do frequencies relate to tones...

[Piano key frequencies https://en.wikipedia.org/wiki/Piano_key_frequencies]