MCPcopy Create free account
hub / github.com/FASTSHIFT/WatchX / toneBlock_Volumn_us

Function toneBlock_Volumn_us

WatchX/ArduinoAPI/Tone.cpp:178–194  ·  view source on GitHub ↗

* @brief 在Pin上生成指定频率和音量 (50%占空比的方波,阻塞式不占用定时器) * @param pin: 产生音调的引脚编号 * @param freq: 频率(Hz) * @param Time_us: 音调的持续时间 (以微秒为单位) * @param vol: 音量(0-100) * @retval 无 */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

microsFunction · 0.85

Tested by

no test coverage detected