Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
22
Task/Metronome/Ada/metronome.ada
Normal file
22
Task/Metronome/Ada/metronome.ada
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
with Ada.Text_IO; use Ada.Text_IO;
|
||||
|
||||
--This package is for the delay.
|
||||
with Ada.Calendar; use Ada.Calendar;
|
||||
|
||||
--This package adds sound
|
||||
with Ada.Characters.Latin_1;
|
||||
|
||||
procedure Main is
|
||||
|
||||
begin
|
||||
|
||||
Put_Line ("Hello, this is 60 BPM");
|
||||
|
||||
loop
|
||||
|
||||
Ada.Text_IO.Put (Ada.Characters.Latin_1.BEL);
|
||||
delay 0.9; --Delay in seconds. If you change to 0.0 the program will crash.
|
||||
|
||||
end loop;
|
||||
|
||||
end Main;
|
||||
Loading…
Add table
Add a link
Reference in a new issue