We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0a3c08 commit 9548090Copy full SHA for 9548090
cores/arduino/Tone.cpp
@@ -24,7 +24,7 @@ class Tone {
24
}
25
26
void start(void) {
27
- ticker.attach(mbed::callback(this, &Tone::toggle), 500ms / frequency );
+ ticker.attach(mbed::callback(this, &Tone::toggle), 500000us / frequency );
28
if (duration != 0) {
29
start_timeout();
30
0 commit comments