circuitpython-tricks icon indicating copy to clipboard operation
circuitpython-tricks copied to clipboard

Audio: Making Simple tones

Open gmeader opened this issue 3 years ago • 0 comments

Here's how to make simple tones with Circuit Python

import board import simpleio

f = 440 # frequency in hz d = 0.25 # duration in seconds simpleio.tone(board.A0, f, d)

gmeader avatar Mar 04 '22 00:03 gmeader