Prototyping/2019-10-16: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "<source lang="c"> tone(11, 220, 60); delay(100); tone(11, 440, 60); delay(100); tone(11, 880, 60); delay(1000); </source>")
 
No edit summary
Line 1: Line 1:
Starting with a very simple program...
<source lang="c">
<source lang="c">
void setup() {
   tone(11, 220, 60);
   tone(11, 220, 60);
   delay(100);
   delay(100);
Line 6: Line 9:
   tone(11, 880, 60);
   tone(11, 880, 60);
   delay(1000);
   delay(1000);
}
void loop() {
}
</source>
</source>

Revision as of 09:24, 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() {
}