mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Added tone example
This commit is contained in:
@ -1,3 +1,17 @@
|
|||||||
|
/*
|
||||||
|
Melody
|
||||||
|
|
||||||
|
Plays a melody
|
||||||
|
|
||||||
|
circuit:
|
||||||
|
* 8-ohm speaker on digital pin 8
|
||||||
|
|
||||||
|
created 21 Jan 2010
|
||||||
|
by Tom Igoe
|
||||||
|
|
||||||
|
http://arduino.cc/en/Tutorial/Tone
|
||||||
|
|
||||||
|
*/
|
||||||
#include "pitches.h"
|
#include "pitches.h"
|
||||||
|
|
||||||
// notes in the melody:
|
// notes in the melody:
|
||||||
|
Reference in New Issue
Block a user