mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-20 22:49:02 +00:00
buzzer: make all note durations float64
This commit is contained in:
committed by
Ron Evans
parent
0ccd979f23
commit
d27859453c
+3
-3
@@ -1,9 +1,9 @@
|
|||||||
package buzzer
|
package buzzer
|
||||||
|
|
||||||
const (
|
const (
|
||||||
Whole = 4
|
Whole = 4.0
|
||||||
Half = 2
|
Half = 2.0
|
||||||
Quarter = 1
|
Quarter = 1.0
|
||||||
Eighth = 0.500
|
Eighth = 0.500
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user