Prototyping/2019-10-16: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 15: Line 15:
</source>
</source>


How do frequencies relate to tones...
How do frequencies relate to tones... See [https://en.wikipedia.org/wiki/Piano_key_frequencies Piano key frequencies]
 
[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... See Piano key frequencies