Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
tone.h
- Committer:
- reesey
- Date:
- 2017-11-19
- Revision:
- 1:3b00679c208a
- Parent:
- 0:2b4c66b3f6aa
- Child:
- 3:9ddabd24f48c
File content as of revision 1:3b00679c208a:
/* tone.h Written by Leong Kum Loong. 19 Nov 2017, REV. 1 All routines and functions in this library are written by me solely with the purpose of implementing an identical "tone" library that was introduced by Arduino IDE. Example reference from Github =============================== The mario_example routine "notes" are reference to the work of Gregory Kielian. The starwars_example routine "notes" are reference to the work of nicksort. */ #ifndef tone_h #define tone_h #include "mbed.h" void tone(int frequency, int duration_ms); void mario_example(); void starwars_example(); #endif