From 1dead49b88b1affad2a336958dc48ea67a25fcee Mon Sep 17 00:00:00 2001 From: Marian Sigler Date: Sat, 8 Jun 2013 23:31:43 +0200 Subject: fix duration calculation --- monophon/monophon.ino | 2 -- 1 file changed, 2 deletions(-) (limited to 'monophon') diff --git a/monophon/monophon.ino b/monophon/monophon.ino index f997375..d1dfeb2 100644 --- a/monophon/monophon.ino +++ b/monophon/monophon.ino @@ -32,10 +32,8 @@ void loop() { void beep(long usecs) { high(); delayMicroseconds(usecs*high_factor); -// delayMicroseconds(usecs*on_percentage/100); low(); delayMicroseconds(usecs*(1-high_factor)); -// delayMicroseconds(usecs*(100-on_percentage)/100); } void high() { -- cgit v1.2.3-1-g7c22