laghari123 / arduino

Automatically exported from code.google.com/p/arduino
0 stars 0 forks source link

Better code for Tone() tutorial #443

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Addition of rest notes in melody[] by specifying a note with value 0.
Better name for noteDurations[], they are divisions, not durations.
Real melody as example.
Automatic counting of melody size with sizeof().
See attached file.

Original issue reported on code.google.com by fvdma...@gmail.com on 1 Jan 2011 at 8:42

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by dmel...@gmail.com on 3 Jan 2011 at 6:40